Optimization standards

Optimization standards

Postby Ntech » 01 Aug 2019, 20:19

I've been wondering: how many opensource games distribute optimized builds? I.e. the production (not debugging) builds shall, for example, be compiled with gcc's " -O3" flag? And if so, how widespread is the practice?
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 94
Joined: 30 May 2019, 20:40

Re: Optimization standards

Postby drummyfish » 01 Aug 2019, 21:08

Are you looking for exact numbers or just talk about this? If you're just worried, then don't, I am pretty sure all sane projects optimize the release versions they distribute. Most games I've been building have a CMake or other option with which you either set release or debug.
socialist anarcho-pacifist
Abolish all IP laws. Use CC0. Let's write less retarded software.
http://www.tastyfish.cz
User avatar
drummyfish
 
Posts: 448
Joined: 29 Jul 2018, 20:30
Location: Moravia

Re: Optimization standards

Postby rubenwardy » 04 Aug 2019, 13:43

Pretty much everywhere, it's the default when making release builds.

Although, please note that -O3 may not actually be faster than -O2, it's just a more aggressive optimisation technique.
Core Developer for Minetest - Commits | Donate
User avatar
rubenwardy
 
Posts: 18
Joined: 04 Aug 2019, 00:36

Who is online

Users browsing this forum: No registered users and 1 guest