摘要:
I always assume that 'static const' is faster than 'const', while it's actually not the case.From the assembly code generated by VS 2008, 'static const' will generate a dynamic branch to make sure the variable is only initialized once. However, 'const' will genera 阅读全文