On Mon, 15 Mar 2010 14:44:29 +0900
mpsuz...@hiroshima-u.ac.jp wrote:
>I will post about the code size evaluation.

Here is the result by Linux/i386 gcc-4.4.2.
My patch increases the code size about 1% - 2%.
I think enable-by-default won't blow out most
systems using FreeType2 under default config.


1) size optimized (-Os -g0)

         libfreetype.a  libfreetype.so.6.4.0
original      483134        458298
patched       487148        461660

              +4.0kB        +3.3kB

2) default configuration (-O2 -g)

         libfreetype.a  libfreetype.so.6.4.0
original     2753186       1886105
patched      2798828       1910078

             +45.6kB       +23.2kB

3) full debug (-O0 -g3 -ggdb -fkeep-inline-functions \
               -DFT_DEBUG_LEVEL_ERROR=7 \
               -DFT_DEBUG_LEVEL_TRACE=7 \
               -DFT_DEBUG_MEMORY=7 )

         libfreetype.a  libfreetype.so.6.4.0
original     4896294       4050634
patched      4946900       4079468

             +50.6kB       +28.8kB

Regards,
mpsuzuki


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to