HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Sn3llius | Hacker News Reader
Parent
Full thread
Sn3llius
·
List access is O(1), which effectively makes them arrays :)
View on HN
Phrodo_00
·
Maybe if you don't consider CPU architecture, but most would expect to be able to do loops over Arrays that don't incur in a lot of cache misses, and Python Lists don't do that, since they're actually arrays of pointers to heap memory.
Reply on news.ycombinator.com