[Python-Dev] Using PEP384 Stable ABI for the lzma extension module (original) (raw)
Amaury Forgeot d'Arc amauryfa at gmail.com
Thu Oct 6 10:16:19 CEST 2011
- Previous message: [Python-Dev] Using PEP384 Stable ABI for the lzma extension module
- Next message: [Python-Dev] [Python-checkins] cpython: Migrate str.expandtabs to the new API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le 6 octobre 2011 10:09, Charles-François Natali <neologix at free.fr> a écrit :
But under certain circumstances (if a large block is requested), the allocator uses mmap(), no? That's right, if the block requested is bigger than mmapthreshold (256K by default with glibc, forgetting the sliding window algorithm): I'm not sure of what percentage of strings/buffers are concerned in a "typical" program.
Most usages of _PyBytes_Resize() are in compression libraries. 256K payloads are not rare in this area.
-- Amaury Forgeot d'Arc
- Previous message: [Python-Dev] Using PEP384 Stable ABI for the lzma extension module
- Next message: [Python-Dev] [Python-checkins] cpython: Migrate str.expandtabs to the new API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]