> >  - using  "value.lower() == value" instead of value.islower()
>
> ha
>
> >>> x = "27"
> >>> x.islower()
>
> False
>
> >>> x.lower() == x
>
> True
>
> breaks a lot of tests too
>
okay, forget that. Here an example OrderedSet over set; that seems to 
give a bigger speedup than anything else, and without touching 
anything.
IMO any bigger speedup would require logical changes, e.g. not doing 
certain things at all, caching etc.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: oset.py.bz2
Description: BZip2 compressed data

Reply via email to