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.
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
IValueinterface: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.