Victor Stinner wrote: >>> In my program, the cache has 71 entries. That's small ;-) >> That's madness! :-) Instead of storing the entire string (...) > > o is an Unicode character (an integer), not a string! > Oh, Right.. I should read the code next time! :-) How much of a performance improvement do you get with this change? Ian