mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-24 10:46:50 -06:00
current_region (Ctrl+A, and the range that sort, filter, AutoSum, tables and Get Data use when one cell is selected) grew the region one ring of cells per step and stopped after 10,000 steps, rescanning every cell of the ring each time. With 20,000 rows of data and one cell selected, data.sortDescending sorted only the first 10,001 rows and left the rest as they were; a 100,000-row region took 30 s and was cut at row 10,001. It now grows one side at a time while the line next to that side has data (diagonals included), checking only the cells of that line, with no step limit.