02-Aug-2013 20:40, Walter Bright пишет:
On 8/2/2013 8:18 AM, Daniel Murphy wrote:
On a related note, I just tried replacing the two ::malloc calls in
operator new with VirtualAlloc and I get a reduction from 13 seconds to 9
seconds (compiling "dmd std\range -unittest -main") with a release
build of

Hmm, very interesting!

Made a pull to provide an implementation of rmem.c on top of Win32 Heap API.

Also noting that global new/delete are not reentrant already, added NO_SERIALIZE flag to save on locking/unlocking of heap.

For me this gets from 13 to 8 seconds.

Dmitry Olshansky

Reply via email to