在ndk groups這篇
http://goo.gl/zOwpr
討論到了在ndkr5的時候
This does not affect anyone using the NDK build system, only people who
want to use the toolchain in standalone mode.
default是給 -fpic 所以造成了10%~25%的performance loss
而且在講解原因的時候又是很經典的句子
The reason for this is historical, and the C compiler
team has agreed that using -fpic by default for this config makes sense.
而最後在cflags加了-fno-pic後也真的提高了performance
Wednesday, May 25, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment