Skip to content
Prev 25999 / 63421 Next

Modifying R_CheckStack for a speed increase

Alternatively, if you actually wanted to keep the 0.95 you could use

usage > R_CStackLimit - (R_CStackLimit >> 4)

and probably get close enough to 0.95 as it makes no difference or go
with 5 and get something more like 97%. At any rate, you'd avoid
floating point.
On 8/29/07, Stephen Milborrow <milbo at sonic.net> wrote: