Summary: Migrating tables' row collection to Immutable.js List: 1. Change native array to Immutable list in ManagedTable_immutable ----- Current implementation of tables forces to copy arrays on new data arrival which causes O(N^2) complexity -> tables can't handle a lot of new rows in short period of time -> tables freeze and become unresponsive for a few seconds. Immutable data structures will bring us to O(N) complexity Reviewed By: jknoxville Differential Revision: D16416869 fbshipit-source-id: 6d5690d8f5f70286f31a423e319b2cb22deab8ff
6.3 KiB
6.3 KiB