3 ms·
I would not call it a performance hack, it's just a readable way to write an algorithm - most important part of my original suggestion was actually to use x.cha
by mraleph 11y ago
I would not call it a performance hack, it's just a readable way to write an algorithm - most important part of my original suggestion was actually to use x.charCodeAt(i) instead of x[i]