Ifdef Graphite Optimizations