memory allocation

Clarence Dold cdold at starfish.Convergent.COM
Sat Sep 10 03:49:40 AEST 1988


>From article <5702 at utah-cs.UUCP>, by u-dmfloy%sunset.utah.edu at utah-cs.UUCP (Daniel M Floyd):
> 
> You might try an allocation scheme similar to a DOS (i.e. MS/PS)
> disk space allocation.
> 
> Divide your memory into convinient chunks. Then refer to those
> chunks in some sort of look up table. Keep a pointer to the first
> used block and the last. Always allocate at the end. The table will
If you are using a Unisys or Convergent system, look at malloc(3x) rather 
than malloc(3c).  It implements a 'convenient chunk' scheme, incredibly
faster, especially if you are paging to swap space.
-- 
Clarence A Dold - cdold at starfish.Convergent.COM		(408) 435-5274
		...pyramid!ctnews!mitisft!professo!dold
		P.O.Box 6685, San Jose, CA 95150-6685



More information about the Comp.lang.c mailing list