printf is slow, by removing these I got a 24% speed up in my benchmarks