[OSM-dev] [novice] osm2pgsql: mac os x: faster with compiler optimized flag -fast instead of -O2

Martijn van Oosterhout kleptog at gmail.com
Sun Feb 8 12:31:32 GMT 2009

On Sun, Feb 8, 2009 at 1:06 PM, Jon Burgess <jburgess777 at googlemail.com> wrote:
> It is an option added by Apple. It looks like it is not much more than a
> custom set of "-f..." flags which they've developed to generate better
> code on the PowerPC CPUs.
> http://developer.apple.com/ReleaseNotes/DeveloperTools/RN-GCC3/index.html#//apple_ref/doc/uid/TP40001007-DontLinkElementID_17

I see... Well, if people want to enable it they can (note the caveats,
I think we're strict aliasing compliant but I havn't checked) but I'm
surprised it would make a difference, since most of the time goes to
the database, not  osm2pgsql itself I thought.

Have a nice day,
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/

More information about the dev mailing list