[Python-ideas] string codes & substring equality

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 28 23:56:18 CET 2013


spir wrote:
> Is it weird to consider a .code(i) string method?

Another approach would be to keep a cache of single-char
strings, like we do for small integers.

-- 
Greg


More information about the Python-ideas mailing list