2 ms·
That's a very fair point and we have work to do to optimize our site for mobile viewing (I'm an engineer at Scalyr). One twist on the optimization that we coul
by sczerwin 13y ago
That's a very fair point and we have work to do to optimize our site for mobile viewing (I'm an engineer at Scalyr).
One twist on the optimization that we could have used but didn't was trigger the tokenization on mousedown and then the first token selection on mouseup. Testing with modern browsers shows that the newly visible div will receive the the mouseup event. And the average 100ms time between mouse down and mouse up gives us more than enough time for Angular to do the work of creating the tokens for one line.