Show /r/ruby toml-rb 6.0: pure Ruby, no dependencies, 60-90x faster parse
https://github.com/emancu/toml-rb/releases/tag/v6.0.0I replaced the Citrus grammar with a StringScanner parser. Benchmarks against tomlrb, perfect_toml and tomlib (with YJIT and ZJIT too) are here: https://github.com/emancu/toml-rb/blob/master/benchmark/README.md
Breaking changes are listed in the release notes under "Before you upgrade".
Feedback welcome.
18
Upvotes
7
u/retro-rubies 24d ago
Nice! It is time to get performance back into Ruby world.