diff options
author | Kenta Murata <mrkn@mrkn.jp> | 2021-01-01 04:13:12 +0900 |
---|---|---|
committer | Kenta Murata <mrkn@mrkn.jp> | 2021-01-02 00:54:09 +0900 |
commit | 448a67cd812d0be0a7f1cc871daa598c3b846143 (patch) | |
tree | 95c627713f6b2129787d60731d57f0f26c0e8d04 /vm_exec.h | |
parent | 4730efdd80f40119f8a397fe1b4b7ba88a0ce3d3 (diff) |
[ruby/bigdecimal] Implement special conversions for 64-bit integers
This change improves the conversion speed from small integers.
```
Comparison:
big_n9
master: 4003688.9 i/s
bigdecimal 3.0.0: 1270551.0 i/s - 3.15x slower
big_n19
master: 5410096.4 i/s
bigdecimal 3.0.0: 1000250.3 i/s - 5.41x slower
```
https://github.com/ruby/bigdecimal/commit/3429bd7e6f
Diffstat (limited to 'vm_exec.h')
0 files changed, 0 insertions, 0 deletions