heap code



ptr1 .... ptr2 .... ptr3



mem blocks between the values

split into halves for small allocations

combine smaller free blocks into one large one

start search from largest block recently freed

format


	ptr to next block

	in use yes/no

	last block in chain yes/no

	mem area



