You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • Yeah - there's sort of this knee-jerk reaction in my brain "oh that's evil, special cases for certain variable names", but the more I think about it, the more sense I think it makes here. The fact that the minifier is already transmuting local variables into lowercase single letter variables with letters near the start of the alphabet means that people will take advantage of this without even knowing it, assuming they send the code from the right side of the IDE so it gets minified. And we already have to minify the code if we care about it running fast. But if you're hand optimizing code, it's the same thing - single-letter variable names are what we should be using anyway.
    You could probably get a significant performance enhancement with just say, the first 10-16 letters of the alphabet...

About

Avatar for DrAzzy @DrAzzy started