Skip to content

Conversation

@cicirello
Copy link
Owner

Summary

Permutation now caches hash on first call to hashCode() to optimize applications that rely heavily on hashing.

Closing Issues

Closes #329

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvements to existing code, such as refactoring or optimizations (non-breaking)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@cicirello cicirello added the enhancement New feature or request label Apr 13, 2023
@cicirello cicirello self-assigned this Apr 13, 2023
@github-actions
Copy link
Contributor

JaCoCo Test Coverage Summary Statistics

  • Coverage: 100%
  • Branches: 100%

@cicirello cicirello merged commit 95ef1cf into master Apr 13, 2023
@cicirello cicirello deleted the cache-hashcode branch April 13, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

Cache hashCode in Permutation class

2 participants