[issue31484] Cache single-character strings outside of the Latin1 range

Terry J. Reedy report at bugs.python.org
Sat Sep 16 10:46:15 EDT 2017


Terry J. Reedy added the comment:

If I understand correctly, anyone could change the cache size for their personal or corporate binary by changing
#define BMP_CACHE_SIZE 256

There should be a comment that it must not be 0 and should be a power of 2 at least, say, 256.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31484>
_______________________________________


More information about the Python-bugs-list mailing list