cvs commit: ports/graphics/libraw Makefile

Alex Tutubalin lexa at lexa.ru
Thu May 8 04:59:38 UTC 2008


Sergey A. Osokin wrote:
>
> I'm also Cc'ed this letter to libraw author Alex Tutubalin.
> Alex, could you provide more information about compile optimization?
> Thank you.
>   
LibRaw depends heavily on Dave Coffin's dcraw utlility. I've copied -O4 
option from dcraw page
(http://cybercom.net/~dcoffin/dcraw/)

Anyway, just tested it on FreeBSD7/i386 on Intel C2D
Execution time for LibRaw test is near same for -O3 and -O4
There is significant difference between -O2 and -O3 (about 10%)

So, you can change to -O3 in port Makefile patches

I will also change to -O3 in future LibRaw releases.

-- 
Alex Tutubalin
Web: http://blog.lexa.ru
mailto:lexa at lexa.ru



More information about the cvs-all mailing list