How to Read Bytes from a file
gagsl-py2 at yahoo.com.ar
Wed Mar 7 06:42:23 CET 2007
En Tue, 06 Mar 2007 17:07:45 -0300, Matthias Julius <jnews at julius-net.net>
> "Gabriel Genellina" <gagsl-py2 at yahoo.com.ar> writes:
>> Dictionary access is highly optimized in Python. In fact, using a
>> precomputed dictionary is about 12 times faster:
> Why using a dictionary and not a list?
Because a dictionary is slower? :)
Using a similar test as previously posted, list access is about 15% faster
than dictionary access for such small range.
More information about the Python-list