Issue 100 in unladen-swallow: New benchmarking snippet

0 views
Skip to first unread message

unladen...@googlecode.com

unread,
Dec 16, 2009, 5:42:15 PM12/16/09
to unladen...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 100 by alex.gaynor: New benchmarking snippet
http://code.google.com/p/unladen-swallow/issues/detail?id=100

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.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

unladen...@googlecode.com

unread,
Dec 16, 2009, 5:46:29 PM12/16/09
to unladen...@googlegroups.com
Updates:
Status: Accepted
Labels: Performance

Comment #1 on issue 100 by collinw: New benchmarking snippet
http://code.google.com/p/unladen-swallow/issues/detail?id=100

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages