Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 07 Nov 2012 07:10:42 -0600 From: Chris Hinsley Newsgroups: comp.lang.forth Date: Wed, 7 Nov 2012 13:10:42 +0000 Message-ID: <2012110713104285278-chrishinsley@gmailcom> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [OT] Buddy System Memory Allocator User-Agent: Unison/2.1.9 Lines: 14 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-CKtGdX2alIPOHswxxT8z+j+TChPVjLXpjfbwYNmT5lhl/0jSsvNTTUFpsLFsdK8DRHu/VZzL4M0kswa!RYHTiBFWht/at49xflcm+rbf5uWy7nIb3sewgXQb5XfUoRyUcvE4/wmW5L4mTX0QSOf2UCg= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1388 Xref: csiph.com comp.lang.forth:17113 I don't have a buddy allocator, but if you want to look at my version of a best fit, sorted by size of block allocator, based on a simple double linked freelist have a look here: https://sites.google.com/site/chrishinsley/ You want the list.f and memory.f files from the Forth.zip. Hope that gives you some ideas. Best Regards Chris