lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Pall wrote:
[...]
> A good share of that is due to -fomit-frame-pointer being the
> default in MSVC release mode, but not in MinGW. The other reason
> is that MSVC with the highest optimization setting has better
> heuristics than GCC -O3 (try -O2 plus selected -f options instead).

I've had good experiences with -Os, which appears to be a good selection
of optimisations suitable for real-world use. Apple use it routinely for
OSX, for example. I gather that for some code it's actually faster than
- -O3 due to better cache utilisation when not unrolling loops.

If you're non-commercial you may also want to look at the Intel compiler
suite, which can be free, and is (I gather) much better than both gcc
and MSVC.

http://software.intel.com/en-us/articles/non-commercial-software-development/

- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "Sufficiently advanced incompetence is indistinguishable from
│ malice." -- Vernon Schryver
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksfkrAACgkQf9E0noFvlzg/iwCfUhZOyEAZtG9aAVdd+jgvw/5t
2qYAmgO1dHjHbPMB2wT618T511lTWrmx
=pxLb
-----END PGP SIGNATURE-----