diff options
| author | Geremia Taglialatela <[email protected]> | 2023-05-27 12:33:34 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-27 12:33:34 +0200 |
| commit | 171f4ad7d68f8b9e93fa9e65b31bf313d8c57296 (patch) | |
| tree | 7779ef54463646fa924d3408f14e8b5deecc348d /lib/axlsx/drawing/num_data_source.rb | |
| parent | 63a6edf1e191cf91fb80717ebae67c78af0d7db5 (diff) | |
| download | caxlsx-171f4ad7d68f8b9e93fa9e65b31bf313d8c57296.tar.gz caxlsx-171f4ad7d68f8b9e93fa9e65b31bf313d8c57296.zip | |
Improve absolute cell reference method
Also inverts `string.match(REGEX)` with `REGEX.match(string)` because
of uniformity and because it has been tested 5% more performant on
Ruby 3.2. Performance on older Rubies is the same
```
REGEX.match(string): 1234330.7 i/s
string.match(REGEX): 1172670.1 i/s - 1.05x (± 0.00) slower
```
Diffstat (limited to 'lib/axlsx/drawing/num_data_source.rb')
0 files changed, 0 insertions, 0 deletions
