Skip to content

v0.18.4

Choose a tag to compare

@hpopp hpopp released this 12 Sep 18:56
· 88 commits to main since this release
6de116f

Fixed

  • try self.f(...) in tail position of a ! E function is now a real tail call, so accumulator recursion through try runs in constant stack and keeps one live copy of the accumulator instead of one per step.
  • Recursive builder functions such as build(n - 1, acc.append(n)) and build(n - 1, acc <> piece) now run in linear time under the interpreter as well as in compiled binaries, instead of copying the accumulator on every step.