sshirokov/csgtool — pull request #28 by sshirokov (2013-06-11 22:53:03+00:00)
Title: A "try to stay on the stack" optimization for bsp_clip_polygons/_array

This saves us about a second of runtime on my machine in testing, and removes the entire `malloc/free` hotspot in the clipping functions in Instruments in the majority of cases.

Tunable by `#define STATIC_POLY_BUFFER_SIZE` in `bsp.h`