Paul Rubin wrote: > Peter Hansen <peter at engcorp.com> writes: > >>(And, if I were "optimizing", I would of course dispense with the >>dynamic creation of the static table upon every execution of >>expiration(), and move it outside the function.) > > Replacing it with a tuple might be enough for that. You're right, and in fact that would actually be even faster since then it's a LOAD_CONST instead of a LOAD_GLOBAL. -Peter
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4