Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Releases: JuliaServices/AutoHashEqualsCached.jl

v0.3.0

04 Aug 20:59
4af0a63
Compare
Choose a tag to compare

Implement support for interoperation with Match.jl version 2.

v0.2.2

30 Jun 17:23
70d7832
Compare
Choose a tag to compare

Reimplementation of AutoHashEquals.jl with additional features:

  • New macro @auto_hash_equals_cached adds a field that caches the precomputed hash code
    • adjusts the constructors and show(io,x) so that the field is invisible.
    • overrides a function so that the field is invisible to Rematch and Rematch2
    • permit the user to specify an alternative hash function to implement

To use this, you must go into the package manager (']' at the repl) and type

add https://github.com/JuliaServices/Rematch2.jl#v0.4.0
add https://github.com/JuliaServices/AutoHashEqualsCached.jl#v0.2.2

These requirements will be removed when these packages are registered (as the newest revisions of Match.jl and AutoHashEquals.jl)