Skip to content

v4.0.2

Compare
Choose a tag to compare
@gvergnaud gvergnaud released this 17 Apr 17:16
· 383 commits to main since this release

Patch release containing a few runtime performance improvements:

  • Use a Builder class internally in match expression to rely on prototypal inheritance instead of defining method every time .with is called.
  • Handle the .with(pattern, handler) case separately from .with(...pattern, handler) to avoid iterating on params and make it faster.