[Python-ideas] string codes & substring equality

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Nov 29 00:29:29 CET 2013


Chris Angelico wrote:
> Would you really keep a cache of 1114112 string objects around?

Well, not *exactly* like the int cache... the idea
would be to remember ones that had been used, not
pre-generate all possible 1-char strings.

-- 
Greg


More information about the Python-ideas mailing list