BAXTER_A@wehi.dn.mu.oz (08/29/90)
In article <6424@sugar.hackercorp.com>, peter@sugar.hackercorp.com (Peter da Silva) writes: > One more comment on the overhead of malloc and free. > > "Tracers" uses malloc and free internally, and still runs fast enough that > it's unplayable at 21 volts on a standard A1000. Any time you're using malloc > the free will be lost in the noise. If speed is that important you should > probably be using a more efficient memory management mechanism than malloc > anyway, like a set of fixed size buffer pools or something. > -- > Peter da Silva. `-_-' > <peter@sugar.hackercorp.com>. Multiplot (now with log axes) tracks memory resources and frees on the fly and it still runs 10x faster than Cricket graph with a one bit plane screen. Regards Alan