News for hackers. Stuff that matters.
Re:Show HN: Grid.js – Advanced table library that works ever... by _bxg1 on Friday June 05, 2020 @12:18AM (#23425029)
Quick tip: for the client-side, large dataset case, if you want to get fancy it's possible to create a worker thread and perform the sort there, which makes it somewhat faster but more importantly stops it from freezing up the tab while it operates. We did this to great success at my last company when we needed to sort ~200,000 items client-side. The UI thread remained perfectly responsive during the operation and we were able to present the user with a loading spinner while it worked.

There are no comments on this comment yet.