mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists.
This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot.
This commit is contained in:
parent
bb2095f1e2
commit
eeb7eea1f9
13 changed files with 271 additions and 87 deletions
|
@ -634,6 +634,10 @@
|
|||
RelativePath="..\Include\abstract.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Include\accu.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Include\asdl.h"
|
||||
>
|
||||
|
@ -1446,6 +1450,10 @@
|
|||
RelativePath="..\Objects\abstract.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Objects\accu.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Objects\boolobject.c"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue