Address some potential performance issues
Found them while chasing hot paths from hotspot, it's hard to tell the amount of improvement they bring. These make the code more readable as well.
Found them while chasing hot paths from hotspot, it's hard to tell the amount of improvement they bring. These make the code more readable as well.