....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.
I'd run it through Shark.app on the Mac, myself. That's quite useful for
finding things like that.
--
------------------------------------ personal:
http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems *
www.floodgap.com * ckaiser at
floodgap.com
-- Always proofreed you writing. ----------------------------------------------