Squiggle logoSquiggle

v0.5.0

0.5.0

Published Oct 2, 2022

  • Performance improvements:
    • Interpreter is now 5x-20x faster on code written in Squiggle
    • SampleSet to PointSet conversions are 2x faster
    • cdf function on SampleSets is 30x faster
    • overall speedup is about 2x on average on real code written in Squiggle
  • 50% smaller bundle size for @quri/squiggle-lang; 20% smaller bundle size for @quri/squiggle-components.

Breaking changes

Some rarely used math functions got removed or moved to the Math namespace.

For example, cos(x) is now Math.cos(x), and atanh(x) doesn't exist.

If your code is now failing with <function> is not defined for anything from this list, try adding Math. prefix first, and then complain on Github issues.

Edit on GitHub

Last updated on

On this page