Files
gristlabs_grist-core/app/server/lib
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
..
2020-12-11 15:15:35 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-04-03 09:41:06 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2021-04-03 09:41:06 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-30 13:52:46 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00