On Tue, Jan 29, 2019 at 04:32:19PM +0800, Dmitry Timoshkov wrote:
Nikolay Sivov nsivov@codeweavers.com wrote:
Why would it better to delay-load?
Because loading ole32 is very expensive.
What's expensive about it?
Mostly dependencies and initialization.
Just to set the record straight, both ole32 and rpcrt4 (which ole32 loads) essentially have no initialization code. So the overhead involved is just that of the loader itself.
Huw.