Recalculation
A sheet of a hundred thousand cells is built in a Web Worker: ten thousand rows of inputs, running totals that chain down the whole sheet, lookups, conditions and sums over ranges. Changing an input recalculates only the cells that read it, directly or through others, in an order where each cell comes after the cells it reads. The same change is then recalculated the slow way, every formula on the sheet, to compare.
Building. The sheet is being built in the worker.
Change one input
| Change | Reachable cells | Recalculated | Time | Everything again | Faster by | Same values |
|---|