New malloc() for win32 that should produce faster DMD's and faster D code that uses malloc()

Denis Shelomovskij verylonglogin.reg at gmail.com
Sun Aug 4 02:28:01 PDT 2013


04.08.2013 1:55, Walter Bright пишет:
> The execrable existing implementation was scrapped, and the new one uses
> Windows HeapAlloc().
>
> http://ftp.digitalmars.com/snn.lib
>
> This is for testing porpoises, and of course for those that Feel Da Need
> For Speed.

So I suppose you use `HeapFree` too? Please, be sure you use this 
Windows API BOOL/BOOLEAN bug workaround:
https://github.com/denis-sh/phobos-additions/blob/e061d1ad282b4793d1c75dfcc20962b99ec842df/unstd/windows/heap.d#L178

-- 
Денис В. Шеломовский
Denis V. Shelomovskij


More information about the Digitalmars-d-announce mailing list