Skip to content

Cache hash value of ImmutableRecord

Dominic Kempf requested to merge cached-hash-on-immutable-record into master

Due to the data structure to being intended immutable, the hash value cannot change during object lifetime. This commit caches the value upon first evaluation.

Merge request reports

Loading