O(n^2) is bad - can it be fixed?

Greg Ewing see at my.signature
Thu May 31 07:39:15 CEST 2001


Helen Dawson wrote:
> 
> Address
> space will be allocated to seven or eight heaps, instead of 500. Those
> heaps will be available for allocations of any size up to 128 Mbytes or so

If allocating one of these heaps is just an allocation of
address space - without any actual memory being allocated
within the heap until needed - then why doesn't the C
library just allocate one great big heap at the outset?

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list