A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2011-October/113875.html below:

[Python-Dev] Using PEP384 Stable ABI for the lzma extension module

[Python-Dev] Using PEP384 Stable ABI for the lzma extension module [Python-Dev] Using PEP384 Stable ABI for the lzma extension moduleAmaury Forgeot d'Arc amauryfa at gmail.com
Thu Oct 6 10:16:19 CEST 2011
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 mmap_threshold
> (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
More information about the Python-Dev mailing list

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