spearmint icon indicating copy to clipboard operation
spearmint copied to clipboard

Rewrite the memory management systems

Open zturtleman opened this issue 11 years ago • 2 comments
trafficstars

Switch "zone" (common.c) and DMA (snd_mem.c) memory systems from allocating as a single memory pool at run time to allocating as needed.

For reference? http://trac.srb2.org/browser/SRB2/trunk/src/z_zone.c

Not sure about the "hunk" memory system. I'd like it to be dynamic as well, but maybe would be better left as is?

zturtleman avatar Dec 15 '13 08:12 zturtleman

https://github.com/JACoders/OpenJK/blob/master/codemp/qcommon/z_memman_pc.cpp

ensiform avatar Dec 15 '13 15:12 ensiform

yeah, basically that.

zturtleman avatar Dec 15 '13 21:12 zturtleman