diff options
| author | Paul Kmiec <[email protected]> | 2023-05-13 11:00:38 -0700 |
|---|---|---|
| committer | Paul Kmiec <[email protected]> | 2023-05-15 16:58:24 -0700 |
| commit | 447b2522bc4a06c8436e708eae40cf7244dc0ec4 (patch) | |
| tree | 764d08ac803bd6c1dc3065823da3f5b0cc39ef96 /test | |
| parent | af8360755fe21f4e9d30e943ba0b2be3c0128d28 (diff) | |
| download | caxlsx-447b2522bc4a06c8436e708eae40cf7244dc0ec4.tar.gz caxlsx-447b2522bc4a06c8436e708eae40cf7244dc0ec4.zip | |
Only define @escape_formulas in cell if it is different from worksheet
The benchmarks showed that validate_boolean is called 200_005 times
and almost all of those are to validate escape_formulas passed into
cell.
In this commit the worksheet does not pass in its escape_formulas
value, avoiding validate_boolean, and instead the cell asks the
worksheet for value when needed. Now validate_boolean is called 5
times in benchmarks.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
