Skip to content

0.8.7

Compare
Choose a tag to compare
@BenMorel BenMorel released this 20 Apr 22:39
· 241 commits to master since this release

Improvements

  • Safer conversion from float when using custom locales
  • Much faster NativeCalculator implementation πŸš€

You can expect at least a 3x performance improvement for common arithmetic operations when using the library on systems without GMP or BCMath; it gets exponentially faster on multiplications with a high number of digits. This is due to calculations now being performed on whole blocks of digits (the block size depending on the platform, 32-bit or 64-bit) instead of digit-by-digit as before.