Closed milahu closed 2 years ago
Hi. Brilliant, thanks for submitting. Just so I understand what's going on: The goal of this change is to avoid starting 'bc' as a separate process, for performance reasons, is that right? Are there other goals you had in mind?
my motivation is to avoid the dependency for example, on nixos linux, bc is not installed by default
performance is not relevant as this code executes only all 0.25 seconds or so
see also
OK, I get it, thanks. Brilliant.
test: https://replit.com/@milahu/math-integer-float-sh