You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many client scenarios, thee are types for which the generated code would be more efficient if it (1) computed the hash code at construction time and cached it, and (2) compares the hash codes when comparing for equality, to shortcut the potentially more expensive equality comparisons on the elements.
Specifically, code like this
Using AutoHashEquals
@auto_hash_equals_cachedstruct Q
x::Intend
In many client scenarios, thee are types for which the generated code would be more efficient if it (1) computed the hash code at construction time and cached it, and (2) compares the hash codes when comparing for equality, to shortcut the potentially more expensive equality comparisons on the elements.
Specifically, code like this
would be translated to something like
(I'm willing to do the work of implementing this.)
The text was updated successfully, but these errors were encountered: