[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Towards a 1.2.1 release
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Towards a 1.2.1 release |
Date: |
Tue, 11 Jan 2005 06:55:10 +0100 |
User-agent: |
Mutt/1.4.2.1i |
[Please don't use full quotes. It's impolite to your readers. The
Germans call it TOFU -- ,,Text oben, fullquote unten.'']
As Paul Schlie wrote:
> A little while back someone sugested a refinement to malloc I think,
> Did it have merrit?
Bertolt Mildner.
This is a bit similiar to the FP stuff. I'd rather like to see a
testsuite first in order to verify the assumptions made in Bertolt's
code, like that it's really not worth spending time in figuring out a
chunk that would fit exactly. When I wrote the current malloc
implementation, I've been shocked by the simple older implementation
that was prone to memory fragmentation, so I tried my best to avoid
fragmentation even at the cost of a slower (and larger) malloc. I
think memory fragmentation in a device tight on RAM is much worth than
a few more bytes of code.
Of course, Bertolt has a few good points, but see above, I'd really
like to write a test suite first.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)