|
|
|
|
|
by bee_rider
635 days ago
|
|
Python lists aren’t arrays, right? They are the closest thing in Python to an array maybe, but they do a ton of stuff under the hood, like grow when needed. Calling them arrays would be very confusing to everybody who expects a typical array: a pointer with some empty space after it. |
|
When I said array, I specifically meant O(1) access, which is in contrast to linked lists, which the name "list" would seem to imply.