dbghelp: Directly use Heap functions.

Frank Richter frank.richter at gmail.com
Mon Apr 30 03:32:08 CDT 2007


On 30.04.2007 08:56, Eric Pouech wrote:
> Markus Amsler a écrit :
>> This reduces WoW debug symbol load time from about 100s to 18!
> this also removes two key design features:
> - memory is free:d (as Dimitry already pointed out)
> - a memory pool is associated to every module, so that all allocations
> for a specific module are free:d when the module is unloaded

If using the Heap* functions gives such a significant speed boost it may
make sense to create a heap with HeapCreate() per module and use that.
When a module is unloaded you can just call HeapDestroy() to get rid of
the memory allocated for that module.

-f.r.




More information about the wine-devel mailing list