¡@

Home 

c++ Programming Glossary: g0

I want to make my own Malloc

http://stackoverflow.com/questions/732617/i-want-to-make-my-own-malloc

allocate new stuff in one part of your memory pool call it g0. When you reach a high water mark on that you look through the.. section of memory call it g1 Then you can just clear the g0 space and start allocating there. Eventually g1 gets to its.. gets to its high water mark and you fix that by clearing g0 and clean up g1 moving stuff to g0 and when you're done you..