array, list, performance...

gabor gabor at realtime.sk
Thu Jun 6 13:54:47 EDT 2002


hi,

how fast is list?

i mean accessing an item at an arbitrary position is O[n] or O[1]?

i need O[1].... are there any suitable classes in python?

thanks,
gabor








More information about the Python-list mailing list