摘要:
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 阅读全文
posted @ 2012-11-15 16:46
Len3d
阅读(192)
评论(0)
推荐(0)