You're spending a lot of time on something that just isn't worth it. The performance gain from the constant pragma is never going to tip the balance in a real world application, and the problem only gets worse when you need to use them in double-quoted strings. Use a normal variable: