A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/038724.html below:

[Python-Dev] buildin vs. shared modules

[Python-Dev] buildin vs. shared modules [Python-Dev] buildin vs. shared modulesAndrew Gaul andrew at gaul.org
Tue Oct 14 15:39:05 EDT 2003
On Tue, Oct 14, 2003 at 12:20:18PM -0700, Guido van Rossum wrote:
> > I don't see why it matters, though. Adding modules to pythonxy.dll does 
> > not increase the memory consumption if the modules are not used.
> 
> Can you explain why not?  Doesn't the whole DLL get loaded into
> memory?

The OS maps the entire DLL but only pages in the parts that are
referenced.  This is the same behavior as mmapping an ordinary file
because that is how shared libraries are usually implemented (with some
magic when multiple libraries want the same virtual addresses).

-- 
Andrew Gaul
http://gaul.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20031014/203b20cf/attachment.bin
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