Daniel's page
main thoughts license
dbestfit: Best-Fit Memory Allocation

dbestfit is a complete and fast malloc-replacement that features a best-fit algoritm with special small-block treatment, to maximize memory usage. This is particularly suitable for embedded systems.

dbestfit has been used to replace the pSOS-provided malloc system several times. dbestfit performs a magnitude faster and of course doesn't force a task switch when used - and it doesn't fragment the memory as much. But this code is not pSOS-specific.

CVS and other services hosted by:


dbestfit 3.3 19KB

Feedback - Improvements - Bug reports

Please email them to me to the address as shown in the web page footer. In case of interest I'll start a mailing list.




daniel at haxx dot .se