this flag is passed to the c compiler. the -O flag is not in all the available C compilers out there and it makes the compilation slower because it makes 2 optimization passes.
try -O3 or so.. -Os is for smaller size compilations On Jan 10, 2012, at 9:17 AM, Denis Kuzmenok <[email protected]> wrote: >> On Sun, Jan 8, 2012 at 8:52 PM, Denis Kuzmenok <[email protected]> wrote: >> BTW, Plain Vala is 3x times slower than plain C+vapi. > >> I hope that you enabled optimizations with -X -O2 . > > Wow... Now my plain vala code runs faster. A little bit, but faster. Why this > flag is not enabled by default? > > _______________________________________________ > vala-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/vala-list > _______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
