Re: [Vala] FNV Hash algorithm



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 <forward_ua ukr net> wrote:

On Sun, Jan 8, 2012 at 8:52 PM, Denis Kuzmenok <forward_ua ukr net> 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
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]