diff options
| author | Paul Kmiec <[email protected]> | 2023-05-22 21:10:08 -0700 |
|---|---|---|
| committer | Paul Kmiec <[email protected]> | 2023-05-22 21:10:08 -0700 |
| commit | 75cdbc5b10d4813316b38a3588829debadc7fb7d (patch) | |
| tree | 2bcc5f44a7250bb68c58be4efdfaa2c751d46ffc /lib/axlsx/drawing/num_data_source.rb | |
| parent | 6752225bbb8a9eec905ec02a98f1a25a309c404a (diff) | |
| download | caxlsx-75cdbc5b10d4813316b38a3588829debadc7fb7d.tar.gz caxlsx-75cdbc5b10d4813316b38a3588829debadc7fb7d.zip | |
Use #== and #eql? from BasicObject
Prior to https://github.com/caxlsx/caxlsx/pull/223, SimpleTypeList
was just an object and inheritied #== / #eql? from BasicObject.
These versions are fast as they just compare whether two objects
sit in the same memory location.
After https://github.com/caxlsx/caxlsx/pull/223, we started to
inherit #== / #eql? from Array. These are slow as they crawl
all the elements in the Array.
This commit restores the original version of #== / #eql?.
Diffstat (limited to 'lib/axlsx/drawing/num_data_source.rb')
0 files changed, 0 insertions, 0 deletions
