delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/10/18:59:29

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: malloc
Date: Mon, 10 May 93 15:20:30 PDT
From: Jonathan Ryshpan <jon%amito DOT halsp DOT hitachi DOT com AT hitachi DOT hitachi DOT com>

>I read an article some years back that discussed various memory allocation
>schemes... 

Memory allocation is discussed in GORY detail (as usual) in Don Knuth's
"Fundamental Algorithms", section 2.5.  In brief: "First fit" is better 
than "best fit".

Of course the best thing is to tune the algorithm for your application.

Jonathan Ryshpan		<jon AT halsp DOT hitachi DOT com>

	===============> I write for myself ONLY. <===============

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019