mc-server/MCServer — pull request #536 by worktycho (2014-01-13 18:17:44+00:00)
Title: Added -march=native to linux targets

Added -march=native option to compilation on linux. This tells the compiler to generate code for the current processor allowing it to make full use of any extensions. It can cause the compiler to generate code that doesn't work on other machines so there is an override option, CROSSCOMPILE. It is only set on linux as OS X has an buggy version of gcc where it doesn't work on some versions. It can add hugely to performance, a brief test with ChunkWorx showed a 4 times improvement in generation rate.