haitex@pnet01.cts.com (Wade Bickel) (01/31/88)
The title about says it all. I am dynamically allocating and deallocating drawing sequences and am concerned about the speed of the memory allocations and deallocations I'm implementing. Anyone know anything about this? Thank you, Wade. UUCP: {cbosgd, hplabs!hp-sdd, sdcsvax, nosc}!crash!pnet01!haitex ARPA: crash!pnet01!haitex@nosc.mil INET: haitex@pnet01.CTS.COM
dillon@CORY.BERKELEY.EDU (Matt Dillon) (02/01/88)
> The title about says it all. I am dynamically allocating and >deallocating drawing sequences and am concerned about the speed of the >memory allocations and deallocations I'm implementing. Anyone know anything >about this? Quite fast. Of course, the blitter is fast too, so allocating and deallocating memory every time you do a draw sequence may halve the speed of the drawing. I suggest you do something intelligent... keep buffers around and only allocate for sequences that take large amounts of memory. -Matt