4 ms·
I know that on Windows, DLL files get optimized a lot. If a DLL file can be loaded without any relocation, then it becomes a memory mapped-file rather than an
by Dwedit 2y ago
I know that on Windows, DLL files get optimized a lot. If a DLL file can be loaded without any relocation, then it becomes a memory mapped-file rather than an additional copy of the program. All the system DLLs have different pre-defined base addresses, so they won't conflict with each other.
If relocation is required, then the DLL becomes a private copy in the process's address space rather than a memory-mapped file.