Closed sequba closed 6 months ago
Code that produces this issue:
it('handles huge spreadsheet', () => { const rowsCount = 1048576 // 2^20 const sheet = [] sheet.push(['1', '2', '3', '0', '0']) let prev = 1 while (prev < rowsCount) { const rowToPush = [ `${prev + 1}`, '2', '=3*5', `=A${prev}+D${prev}`, `=SUM($A$1:A${prev})`, ] sheet.push(rowToPush) ++prev } const engine = HyperFormula.buildFromArray(sheet, { maxRows: rowsCount*2 }) expect(() => engine.addRows(0, [2000, 1])).not.toThrow() })
Originally reported by @BrianHung in https://github.com/handsontable/hyperformula/pull/1321
2.6.0
Closed as solved and released in HyperFormula 2.6.1. List of all the changes https://github.com/handsontable/hyperformula/releases/tag/2.6.1
Description
Code that produces this issue:
Originally reported by @BrianHung in https://github.com/handsontable/hyperformula/pull/1321
HyperFormula version
2.6.0
Your environment