I noticed in the overnight video thread with almost 700 comments that typing in the comment box is getting very sluggish. The slowdown is caused by the character counter - so I’ve been making some changes to optimize that function as much as possible.
One change is that the counter is not being updated on keydown now - if you watch as you type you’ll see that it only changes after you release the key.
I also made all the object lookups much quicker within the textCounter function. It results in a noticeable improvement in typing speed in longer threads — more than 50% better.