Test code:
#include #include const int N = 4096; const float PI = 3.1415926535897932384626; float cosine[N][N]; float sine[N][
Use -S flag in compiler command line and check the difference between assembler output. Maybe using namespace std; gives a lot of unused stuff in executable file.
using namespace std;