a bit compile-time optimization