You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simon Jackson edited this page Jun 7, 2017
·
1 revision
Faster new and delete
Below is a way you can get alot more bang for your buck when using new and delete.
We use the Win32 function GetProcessHeap() to retrieve a handle to the heap and overload the new and delete operators to use HeapAlloc, HeapRealloc and HeapFree.