Skip to content

generated code uses deprecated Fingerprint computation #2874

Description

@jurgenvinju

In switch and other places that use fingerprints the code generator still uses:

Fingerprint.getFingerprint(v)

While vallang provides a much faster way to compute fingerprints in the IValue interface:

v.getMatchFingerprint()

These two methods should have the exact same result, but the latter
requires no case distinction other than direct Java dynamic dispatch.

After these changes the Fingerprint class can be removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions