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

Make the jit accept an EqualityComparer<Input> #47

Open
gafter opened this issue Mar 23, 2022 · 0 comments
Open

Make the jit accept an EqualityComparer<Input> #47

gafter opened this issue Mar 23, 2022 · 0 comments

Comments

@gafter
Copy link
Contributor

gafter commented Mar 23, 2022

Since the jit should only "care about" changes to inputs that are significant for the function being jitted, you may want to use a custom equals and hashCode implementation for the jit. In order to permit that, the jit should take an optional parameter of the interface type EqualityComparer<Input>... but unfortunately such a type doesn't appear to exist in the Kotlin (or Java) APIs.

@gafter gafter transferred this issue from another repository May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant