arvindm95 / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
0 stars 0 forks source link

New benchmarking snippet #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Django has a Sorted dictionary implementation that recently underwent some 
micro optimizations.  However, these shouldn't be necessary!  Ideally we 
should be able to make the original version every bit as fast as the new 
one (and eventually even faster).

http://code.djangoproject.com/changeset/11494 is the first changeset.  We 
can't do a ton here.

http://code.djangoproject.com/changeset/11495 we should be able to do better 
on.  Using an explicit list comprehension should be no slower than using 
map.

http://code.djangoproject.com/changeset/11815 finally rewrites the 
expression from a super().__getitem__ to self.__getitem__.  Since 
self.__getitem__ is dict.__getitem__ we should eventually be able to make 
that blazing fast.

Original issue reported on code.google.com by alex.gay...@gmail.com on 16 Dec 2009 at 10:41

GoogleCodeExporter commented 8 years ago

Original comment by collinw on 16 Dec 2009 at 10:44