-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] sheet: move cells methods performance
The methods `moveCellOn*()` in `sheet.ts` did an useless `parseInt()` to loop through the indexes of an array, slightly decreasing the performance. For when we really have to parse a string to an int, Number() is also slightly faster than parseInt(). This saves 20-40ms on a 10.000 rows sheet with 26 columns, when deleting the first column. Task: 3272878 Part-of: #2340
- Loading branch information
1 parent
95a2949
commit 6e1334b
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters