Tim Peters <t...@python.org> added the comment:

Raymond, please read my very recent comment one above yours.  A (overall) 
quadratic-time algorithm (O(A**2) where A is the number of arenas) in 
obmalloc.c is (to my eyes) probably the _primary_ cause of the sloth here.  
That's been fixed for 3.8, but I don't have enough RAM even to run Terry's test 
code to confirm it.

I can confirm that there's no quadratic-time behavior anymore deleting large 
sets of strings, but only until I run out of RAM.  Neither is the behavior 
linear, but it's much closer to linear than quadratic now.

If someone with more RAM can confirm this for larger sets, then fine by me if 
this is closed again.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32846>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to