[Python-3000] Adaptation vs. Generic Functions (original) (raw)
Phillip J. Eby pje at telecommunity.com
Sat Apr 8 22:32:46 CEST 2006
- Previous message: [Python-3000] Adaptation vs. Generic Functions
- Next message: [Python-3000] Adaptation vs. Generic Functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 08:01 AM 4/8/2006 -0700, Guido van Rossum wrote:
Check out the accelerated version in timeoverloading.py in the svn sandbox/overloading/. It's mostly faster than the manual version!
Anyway, you seem to be confirming that it's the speed with which we can do a cache lookup. I'm not worried about that now.
Btw, the cache should probably hold tuples of weakrefs to types, so as not to leak classes in programs that create and discard classes dynamically. (E.g., they create temporary classes in closures that get called a lot.)
- Previous message: [Python-3000] Adaptation vs. Generic Functions
- Next message: [Python-3000] Adaptation vs. Generic Functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]