quakeforge/tools/qfvis
Bill Currie 72a1fef714 [qfvis] Use hunk to manage winding memory
It turns out cmem is not so good for many large allocations (probably a
bug in handling the blocks), but was really meant for lots of little
churning allocations anyway. After an analysis of winding lifetimes, it
became clear that the hunk allocator would work very well. The base
windings are allocated from a global hunk (currently 1GB, plenty for
even ad_tears), and ephemeral windings are allocated from a per-thread
hunk of 1MB (seems to be way more than enough: gmsp3v2 uses a maximum of
only 56064 bytes, and ad_tears got through 30% before I gave up on it).
Any speed difference (for gmsp3v2) seems to be lost in the noise: still
completing in 38.4s on my machine.
2021-07-29 11:49:18 +09:00
..
include [qfvis] Use hunk to manage winding memory 2021-07-29 11:49:18 +09:00
source [qfvis] Use hunk to manage winding memory 2021-07-29 11:49:18 +09:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
qfvis.1 correct a couple of falsehoods 2004-01-27 05:08:21 +00:00