Hey all, purely for funsies and learning, I started an arbitrary arithmetic library written in crystal following the interface that crystal’s own big provides (I actually copied the big_int specs as a starting point). Over time I’d want to explore how big floats, rationals, and decimals also work under the hood, and improve the library overall. Contributions welcome if anyone wants to join in this journey of math discovery
Doh! I see where I miscommunicated - the first two columns of the benchmark table are operations done in a 5-second period (a la Benchmark.ips; the benchmark table is really just a different format of its output). It’s not megabytes consumed by operation.
I did previously have a memory part of the benchmark, but I kept getting inconsistent results. Some operations it would report 0 bytes consumed (even though I knew there was memory being allocated), and in other cases it showed orders of magnitude more memory being consumed than I thought correct. I removed it since I was still implementing for correctness first. I should re-add that.
I’ll also remove those two columns for Operations, since it doesn’t really provide any value than the Avg Op Time columns already do. Great feedback!