blob: 11da19d887fe51589aab84717bba19a4197f7f27 [file] [log] [blame]
Guido van Rossumcbc66761996-08-23 15:48:14 +00001In Win32, DLL's are "pre-linked" using a specified base address.
2When the DLL is loaded, an attempt is made to place it at
3that address. If that address is already in use, a new base address
4is selected, and the DLL subject to fixups. Apparently, these
5fixups are very slow, and significant performance gains can be
6made by selecting a good base address.
7
8This document is to allocate base addresses to core Python
9and Python .PYD files, to give a better change of optimal performance.
10This base address is passed to the linker using the /BASE
11command line switch.
12
13
14
Guido van Rossum9f3712c2000-03-28 20:37:15 +000015Python.dll - 1e100000 - 1e180000 (-1)
Guido van Rossuma8ee4c32000-04-21 21:26:43 +000016Standard Extension Modules 1e180000 - 1e200000 ""
Guido van Rossum9f3712c2000-03-28 20:37:15 +000017 - bsddb 1e180000 - 1e188000 ""
Guido van Rossumcbc66761996-08-23 15:48:14 +000018 - _tkinter 1e190000 - 1e1A0000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000019 - parser 1e1A0000 - 1e1B0000
20 - zlib 1e1B0000 - 1e1C0000
21 - winreg 1e1C0000 - 1e1D0000
Guido van Rossuma8ee4c32000-04-21 21:26:43 +000022 - _socket 1e1D0000 - 1e1E0000
23 - _sre 1e1E0000 - 1e1F0000
24 - mmap 1e1F0000 - 1e1FFFFF
25
26More standard extensions 1D100000 - 1e000000
27 - pyexpat 1D100000 - 1D110000
28 - select 1D110000 - 1D120000
29 - unicodedata 1D120000 - 1D130000
30 - winsound 1D130000 - 1D140000
Guido van Rossumcbc66761996-08-23 15:48:14 +000031
32Other extension modules
33 - win32api 1e200000 - 1e220000
34 - win32ras 1e220000 - 1e230000
35 - win32lz 1e230000 - 1e240000
36 - timer 1e240000 - 1e250000
37 - mmapfile 1e250000 - 1e260000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000038 - win32pipe 1e260000 - 1e270000
Guido van Rossumcbc66761996-08-23 15:48:14 +000039 - avl 1e270000 - 1e270000
40 - dbhash 1e280000 - 1e290000
41 - win32net 1e290000 - 1e2A0000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000042 - win32security 1e2A0000 - 1e2B0000
43 - win32print 1e2B0000 - 1e2c0000
44 - <nspi is dead too??> 1e2d0000 - 1e2e0000
45 - win32gui 1e2e0000 - 1e2f0000
Guido van Rossumcbc66761996-08-23 15:48:14 +000046 - _imaging 1e2f0000 - 1e300000
47 - multiarray 1e300000 - 1e310000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000048 - win32help 1e310000 - 1e320000
49 - win32clipboard 1e320000 - 1e330000
Guido van Rossumcbc66761996-08-23 15:48:14 +000050
51PythonWin
52 win32ui 1e400000 - 1e500000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000053