mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-25 19:26:50 -06:00
Each header was checked against every name before it, once per suffix tried, so a source whose headers repeat (a row of thousands of equal labels, such as check boxes) took cubic time: 4,000 columns took 28 s in Recommended PivotTables, and a row of 16,384 hung the app, in PivotTables, in Insert Table and in Get Data from Table/Range. Taken names and the next suffix of each header are now kept in hash maps, in the pivot source, in table creation and in the XLSX pivot cache; the names are the same as before.