gristlabs_grist-core/app
Paul Fitzpatrick d64461cd81 (core) optimization: remove lodash/pullAt
Summary:
For a long array with removals proportional to that length,
lodash/pullAt becomes slow due to doing one splice per removal.
This diff swaps in an alternate implementation that doesn't become
quadratic.  On a 250k-row doc with a row-level access rule, this improves
initial page load for a viewer with access to half the rows from minutes
to seconds.

Test Plan: added test; did manual benchmarking

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2777
2021-04-15 21:18:47 -04:00
..
client (core) add new filter bar 2021-04-15 20:29:00 +02:00
common (core) optimization: remove lodash/pullAt 2021-04-15 21:18:47 -04:00
gen-server (core) make AccessRules and FullCopies effective 2021-03-25 15:05:26 -04:00
plugin (core) hide long sequences of unchanged rows in diffs 2020-11-19 18:19:54 -05:00
server (core) optimization: remove lodash/pullAt 2021-04-15 21:18:47 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00