3 ms·
But they also can reduce memory pressure and cache misses, so maybe that evens out.
by kelnos 2y ago
But they also can reduce memory pressure and cache misses, so maybe that evens out.
- Dwedit 2y agoI 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.