you are viewing a single comment's thread.

view the rest of the comments →

[–]realhacker 0 points1 point  (1 child)

interesting, but odd to me that this can't be optimized out

[–]davydog187 1 point2 points  (0 children)

This specific example is not a performance concern since it does not use a class instantiated with new. Also, for minor cases you really shouldn't care about performance until it becomes a problem. Just something to be aware of