DEV Community

loading...

Discussion on: Microbenchmarking your Scala Code

rhymes profile image
rhymes • Edited

Python's main container structures are immutable arrays (tuples) and mutable arrays (lists).

I don't know all the details of the implementation but they are both C arrays.

Lists: How are lists implemented? and this

Tuples: stackoverflow.com/a/14135893/4186181

Thank you for the discussion! :-)

Thread Thread
frosnerd profile image
Frank Rosner Author

I see. I learned a lot during the writing and discussion process :)