Tweak build settings for speed. Make all constant arrays actually const, and let's not put them on the stack either.