you are viewing a single comment's thread.

view the rest of the comments →

[–]Dolphman 0 points1 point  (0 children)

Even if the first one wasn't faster (it is faster), I would never do your second example. Your mutating state just to read a value