[Python-Dev] extremely slow exit for program having huge (45G) dict (python 2.5.2) (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Tue Dec 23 22:52:31 CET 2008


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.

While I'd like to see this done myself, I believe it is independent from the problem at hand. Contributions are welcome.

Regards, Martin



More information about the Python-Dev mailing list