That seems interesting.
My patch should have the same speed-up effect (assuming it has no serious consequences on the performance of dicts in general) for constant read-only globals/builtins, but it should also equally speed up global writes and reads of globals/builtins that constantly change.
Thanks for the reference, it is encouraging as to what I can expect from the speedup of my patch.
On 6/11/07, Jim Jewett jimjjewett@gmail.com wrote:
Eyal,
Have you taken a look at Andrea Griffini's patch, http://python.org/sf/1616125
-jJ