30 Jan
2019
30 Jan
'19
10:09 a.m.
Huw Davies <huw(a)codeweavers.com> wrote:
On Tue, Jan 29, 2019 at 04:32:19PM +0800, Dmitry Timoshkov wrote:
Nikolay Sivov <nsivov(a)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.
Starting up services and performing IPC takes most of the initialization time I'd guess, not mentioning that is not quite fair IMO. -- Dmitry.