mirror of https://github.com/python/cpython
Browse Source
Use a tighter scope temporary variable to help register allocation. 1% speedup for large string. Use PyDict_SetItemDefault() for memoizing keys. At most 4% speedup when the cache hit ratio is low.pull/15179/head
committed by
GitHub
1 changed files with 19 additions and 20 deletions
Loading…
Reference in new issue