4 ms·
I'm sympathetic, but forcing style calculation for every element on the page may not be the most performant solution.
by draw_down 9y ago
I'm sympathetic, but forcing style calculation for every element on the page may not be the most performant solution.
- ncallaway 9y agoIt doesn't need to be. It's a bookmarklet. You click it when there's a sticky header. If it takes 200ms to run, that's not a problem. If it were a browser extension running on every page, sure, that's a disaster.