4,579,372 th visitor since 2017.2.1 ( Today : 258 )
Programming
No. 639
Name. swindler
Subject. compile optimization
Main Cate. iOS
Sub Cate.
Date. 2009-06-12 18:23
Hit. 3367 (211.36.27.8)
File.
XCode의 컴파일러 최적화 옵션은 디폴트 값으로 -Os 이지만,

-O3로 변경하면 속도 최적화로 된다. (용량이 늘어남)


-O[n]
n controls the optimization level.
n = 0
No optimization, the default setting if no -O appears
n = 1
Normal optimization, the default if you specify -O without an operand.
n = 2
Extensive optimization
n = 3
Extensive optimization with automatic inlining. This applies only to inlining within a unit.


[바로가기 링크] : http://coolx.net/cboard/develop/639



Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog