Skip to content

Conversation

@albsch
Copy link
Member

@albsch albsch commented Nov 8, 2024

A draft of hash-consing for BDDs. Not ready yet, mostly because it makes things worse, both complexity and performance wise.

Performance did not improve.

  • Replaced ETS of ty_rec hash-consing with a custom hash-map based on Erlang maps and chaining for collisions.
  • Small optimizations for ty_rec operations, which made them a bit slower actually
  • Implemented hash-consing for BDDs and memoization of BDD set operations
  • All tests pass except pretty_test:pretty_ty_test/0... which fails twice(?) for some reason, even though it is commented out. Very weird.

@albsch albsch closed this May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants