Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017年6月01日 01:44:19 -0700

On 06/01/2017 01:19 AM, Antoine Pitrou wrote:
If you'd like to go that way anyway, I would suggest 1MB as a starting
point in 3.7.
I understand the desire for caution. But I was hoping maybe we could experiment with 4mb in trunk for a while? We could change it to 1mb--or even 256k--before beta 1 if we get anxious.
 * Many programs would be slightly faster now and then, simply because
 we call malloc() 1/16 as often.
malloc() you said? Arenas are allocated using mmap() nowadays, right?
malloc() and free(). See _PyObject_ArenaMalloc (etc) in Objects/obmalloc.c.
On Windows Python uses VirtualAlloc(), and I don't know what the implications are of that.
//arry/
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to