Archived

This topic is now archived and is closed to further replies.

ph4ntasyph34r

DLL speed

Recommended Posts

Hey, Would it be faster to create one really large DLL and load all needed functions from just that, or would it be faster to spread the functions and exported stuff out in different DLL's, then load it? Edited by - ph4ntasyph34r on March 20, 2002 8:05:52 PM

Share this post


Link to post
Share on other sites
Faster in what sense? Will the code run faster? Will the library load faster? A dll gets mapped into the address space of the process. Once it''s mapped, the code will run as fast as it would if it was part of the exe. If you''ve got several dlls, each of them has to be mapped into the address space and that takes more time and presents a possiblity that one of the libraries won''t load at it''s preferred address (which will result in slower performance).

Share this post


Link to post
Share on other sites