blob: 7ac552b0a4af4cd42d383b56a40ed0ff62359bfe [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)
16Standard Extension Modules - 1e180000 - 1e200000 ""
17 - 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 Rossumcbc66761996-08-23 15:48:14 +000022
23Other extension modules
24 - win32api 1e200000 - 1e220000
25 - win32ras 1e220000 - 1e230000
26 - win32lz 1e230000 - 1e240000
27 - timer 1e240000 - 1e250000
28 - mmapfile 1e250000 - 1e260000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000029 - win32pipe 1e260000 - 1e270000
Guido van Rossumcbc66761996-08-23 15:48:14 +000030 - avl 1e270000 - 1e270000
31 - dbhash 1e280000 - 1e290000
32 - win32net 1e290000 - 1e2A0000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000033 - win32security 1e2A0000 - 1e2B0000
34 - win32print 1e2B0000 - 1e2c0000
35 - <nspi is dead too??> 1e2d0000 - 1e2e0000
36 - win32gui 1e2e0000 - 1e2f0000
Guido van Rossumcbc66761996-08-23 15:48:14 +000037 - _imaging 1e2f0000 - 1e300000
38 - multiarray 1e300000 - 1e310000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000039 - win32help 1e310000 - 1e320000
40 - win32clipboard 1e320000 - 1e330000
Guido van Rossumcbc66761996-08-23 15:48:14 +000041
42PythonWin
43 win32ui 1e400000 - 1e500000
Guido van Rossum9f3712c2000-03-28 20:37:15 +000044