[issue30040] Speedup empty dict creation and reduce its memory usage

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16398 pull_request: https://github.com/python/cpython/pull/16847 ___ Python tracker ___ ___

[issue30040] Speedup empty dict creation and reduce its memory usage

2019-03-18 Thread Inada Naoki
Inada Naoki added the comment: I merged PR-12307 instead of PR-12308 because: * PR-12308 adds much code, it makes difficult to maintain dict (I faced many SEGV while creating PR-12308) * PR-12308 is based on PR-12307. So they are not mutually exclusive. And I close this issue because there

[issue30040] Speedup empty dict creation and reduce its memory usage

2019-03-18 Thread Inada Naoki
Inada Naoki added the comment: New changeset 2ddc7f6d6223840c9971b36b30da4b3371d6e52b by Inada Naoki in branch 'master': bpo-30040: optimize inserting into empty dict (GH-12307) https://github.com/python/cpython/commit/2ddc7f6d6223840c9971b36b30da4b3371d6e52b -- ___

[issue30040] Speedup empty dict creation and reduce its memory usage

2019-03-18 Thread Inada Naoki
Change by Inada Naoki : -- title: new empty dict can be more small -> Speedup empty dict creation and reduce its memory usage ___ Python tracker ___ __