Skip to content
Snippets Groups Projects

Cache hash value of ImmutableRecord

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading