[Python-Dev] buildin vs. shared modules
Andrew Gaul
andrew at gaul.org
Tue Oct 14 15:39:05 EDT 2003
More information about the Python-Dev mailing list
Tue Oct 14 15:39:05 EDT 2003
- Previous message: [Python-Dev] buildin vs. shared modules
- Next message: [Python-Dev] buildin vs. shared modules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] buildin vs. shared modules
- Next message: [Python-Dev] buildin vs. shared modules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list