Skip to content

Releases: typst/comemo

Version 0.4.0

07 Mar 09:38
Compare
Choose a tag to compare
  • Comemo now uses a global cache instead of thread-local one. As a result, return values of memoized functions and inputs to tracked functions must now be Send and Sync. (Thanks to @Dherse)
  • The internal data structures have also been optimized to speed comemo up (Thanks to @Dherse)

Version 0.3.1

27 Nov 15:35
Compare
Choose a tag to compare
  • The traversal of cache entries for a specific hash is now in reverse to check the most recent entry first (temporal locality)
  • Bumped syn to 2.0 and siphasher to 1.0

0.3.0

16 May 14:36
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

Improvements:

  • Relaxes the 'static bound on tracked types, they can now have lifetimes
  • Improves performance of constraint generation and validation
  • Fixes possible name clashes in tracked methods (e.g. if parameters are called value)

Breaking changes:

  • Removed public Constraint type, use <T as Validate>::Constraint instead
  • Moved valid method from Track to the new Validate trait

0.2.2

17 Apr 17:46
Compare
Choose a tag to compare
0.2.2 Pre-release
Pre-release

This release switches from SipHash 2-4 to SipHash 1-3 for better performance. Thanks to @dccsillag!

0.2.1

13 Apr 12:21
Compare
Choose a tag to compare
0.2.1 Pre-release
Pre-release

This release adds a new update method to Prehashed.

0.2

27 Mar 08:46
Compare
Choose a tag to compare
0.2 Pre-release
Pre-release

This release features mutation tracking and exposes contraints for more advanced use cases.

0.1

15 Oct 14:12
Compare
Choose a tag to compare
0.1 Pre-release
Pre-release

This is the initial release of comemo, an incremental computation library.