Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!pasteur!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: How expensive (runtime) is memory allocation? Message-ID: <8802010721.AA01335@cory.Berkeley.EDU> Date: 1 Feb 88 07:21:49 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 11 > 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