[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] malloc-less i/o: small comparison
From: |
Dmitry K. |
Subject: |
[avr-libc-dev] malloc-less i/o: small comparison |
Date: |
Tue, 6 Sep 2005 09:35:13 +1100 |
User-agent: |
KMail/1.5 |
Hi all.
I have compared the size of two programs which contain an output
of a string into a stdout. The first uses original Avr-libc.
The second uses the modified library where the stdout connects
at a link stage, and the user is obliged to write base functions
of i/o only.
Results are (in decimal):
text data bss dec hex filename
1060 12 10 1082 43a ex1_old.elf
260 16 0 276 114 ex1_new.elf
And it is without extra SRAM usage by the fdevopen/malloc
in the first case!
Dmitry.
- [avr-libc-dev] malloc-less i/o: small comparison,
Dmitry K. <=