DLL speed

Started by
1 comment, last by ph4ntasyph34r 22 years, 1 month ago
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
/* This is a comment *//* Abuse it */
Advertisement
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).
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
Ok thx,
That''s all i needed to know
/* This is a comment *//* Abuse it */

This topic is closed to new replies.

Advertisement