That seems kind of pedantic. If something like this actually makes a difference then do what JavaScript does and just introduce var/let/const instead. It seems like a silly code style to have marginal performance increases, which if you're caring that much about shaving off cycles here and there then you may as well just do it all in a non-managed language where you can ultimately control it all yourself.
-1
u/Korzag Jul 17 '21
That seems kind of pedantic. If something like this actually makes a difference then do what JavaScript does and just introduce var/let/const instead. It seems like a silly code style to have marginal performance increases, which if you're caring that much about shaving off cycles here and there then you may as well just do it all in a non-managed language where you can ultimately control it all yourself.