SIGN IN SIGN UP

bpo-37587: optimize json.loads (GH-15134)

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.
I
Inada Naoki committed
2a570af12ac5e4ac5575a68f8739b31c24d01367
Parent: e43e7ed
Committed by GitHub <noreply@github.com> on 8/8/2019, 8:57:10 AM