egraphs-good / egglog

egraphs + datalog!
https://egraphs-good.github.io/egglog/
MIT License
458 stars 54 forks source link

`BigInt` and `BigRat` #457

Closed Alex-Fischman closed 3 weeks ago

Alex-Fischman commented 3 weeks ago

This PR adds BigInt and BigRat sorts by external demand. This PR does not add significant complexity to the codebase, as both BigInt and BigRat are implemented the same way as we've implemented Rational.

As a side effect, this PR also:

codspeed-hq[bot] commented 3 weeks ago

CodSpeed Performance Report

Merging #457 will not alter performance

Comparing Alex-Fischman:big-int (b8a0548) with main (a38edb3)

Summary

✅ 8 untouched benchmarks

yihozhang commented 3 weeks ago

Thanks for the quick implementation! cc @rtzam

🐀