I'd like to suggest here, if you are giving this code a facelift, that on Windows you use VirtualAlloc and friends to allocate the arenas. This gives you the most direct access to the VM manager and makes sure that a release arena is immediately availible to the rest of the system. It also makes sure that you don't mess with the regular heap and fragment it. Kristján -----Original Message----- From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of "Martin v. Löwis" Sent: 22. desember 2008 22:56 To: Antoine Pitrou Cc: python-dev at python.org Subject: Re: [Python-Dev] extremely slow exit for program having huge (45G) dict (python 2.5.2) >> Allocation of a new pool would have to do a linear search in these >> pointers (finding the arena with the least number of pools); > > You mean the least number of free pools, right? Correct.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4