On Sat, Mar 17, 2012 at 09:49:28PM +0100, Jos Dreesen wrote:
....that could help me out understanding why the exact
same program, on the
exact same machine, runs 10 times slower under OS-X than it does under
either Ubuntu or Windows ?
( Programmed in C with GCC toolchain and using the FLTK toolset. )
I'd guess that it's different compiler options, or different #defines
and other pre-processor malarkey. Or *the same* #defines that just
happen to optimise for one platform and not the other.
You're gonna have to profile the code. Unfortunately I'm not aware of
anything that will work on both Linux and OS X.
--
David Cantrell | Minister for Arbitrary Justice
Fashion label: n: a liferaft for personalities
which lack intrinsic buoyancy