Re: Re: A non-sucking garbage collector

Greg Ewing <[email protected]> Tue, 20 Jul 2004 13:55:33 +1200
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
Mark Hahn <[email protected]>:

> The malloc call is extremely fast also.  It just keeps one free pointer in a
> big pre-malloc'd arena and marches through giving out memory chunks of any
> size without keeping track of anything.

Have you thought about how cache-unfriendly that behaviour
is going to be?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
[email protected]	   +--------------------------------------+