Value type hash code (original) (raw)
Paul Sandoz paul.sandoz at oracle.com
Thu Apr 12 01:02:55 UTC 2018
- Previous message (by thread): Value type hash code
- Next message (by thread): Value type hash code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Apr 11, 2018, at 1:27 PM, John Rose <john.r.rose at oracle.com> wrote: The most I'd like to see in value type classfiles is a one line hashCode (and equals, toString):
hashCode() { return indyBootstraps::valueHashCode } And in fact, I would prefer to have this stereotyped code be inherited (by a new VM feature "mindy" = method instance dynamic.) …That's me wanting to sand down all the corners.
I cannot resist… if all fields are are constant then cindy, mindy’s constant companion :-)
Paul.
- Previous message (by thread): Value type hash code
- Next message (by thread): Value type hash code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]