4 ms·
particular improvements that come closer to C are related to string operations and regex https://tomaszs2.medium.com/ruby-3-2-0-is-from-another-dimension-5249e
by elif 4y ago
particular improvements that come closer to C are related to string operations and regex
https://tomaszs2.medium.com/ruby-3-2-0-is-from-another-dimension-5249e3186ec9 https://tomaszs2.medium.com/ruby-3-2-0-is-from-another-dimen...
here are some benchmarks from 2019 (ruby 2.5) related to string and regex operations. already certain operations were faster in ruby than C or go, particularly on longer strings.
http://jultika.oulu.fi/files/nbnfioulu-202001201035.pdf http://jultika.oulu.fi/files/nbnfioulu-202001201035.pdf
- Alifatisk 4y agoWow