I suggest using python 2.5 standard library functools.partial when it
is available instead of django.utils.functional.curry. This functions
are technically the same with the exception that partial is written in
C and is about 2 times faster.
Just replace every:
from django.utils.functional import curry
with
try:
from functools import partial as curry
except ImportError: #Python 2.3 and 2.4 fallback
from django.utils.functional import curry
Note that benchmarks in previous post was *without* that change.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---