Re:O(N^2) in CreateProcess
by KyleJ61782 on Monday April 22, 2019 @10:22AM
(#19719129)
The size of the executable doesn't really matter after the first load as subsequent loads share the mapped section so it doesn't need to be loaded from disk again. Loading an executable multiple times after the first time really shouldn't take all that long from an OS perspective...just some mapping of shared pages.
[ Parent
| on HN ]
Re:O(N^2) in CreateProcess
by brucedawson on Monday April 22, 2019 @11:52AM
(#19719876)
> The size of the executable doesn't really matter
> after the first load
shouldn't really matter. If you have CFG enabled then it does. If they fix CFG's initialization then it will go back to not mattering, and even this huge process will be created in just a few ms.