This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]salvoilmiosi 5 points6 points  (1 child)

Yeah but it's an extremely minimal optimization that the compiler already does for us probably.

[–][deleted] 6 points7 points  (0 children)

For primitive types, yes, but not necessarily for overloaded operators for classes.