osm-without-borders / cosmogony

easy to use & easy to update geographic regions
http://cosmogony.world
Apache License 2.0
103 stars 15 forks source link

add production profile with aggressive link time optimizations #131

Closed remi-dupre closed 2 years ago

remi-dupre commented 2 years ago

The new 1.57 version of Rust allows to create profiles different than debug and release.

As cosmogony is very heavy on CPU I think we should enable aggressive compile-time optimizations, and this new cargo feature allows to do it at basically no cost.

We will have to wait until the docker images for x86_64 are updated before we merge this though :grimacing: