Skip to content

Conversation

@triceo
Copy link
Collaborator

@triceo triceo commented Jan 7, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes the performance of the EqualsIndexer by reducing the HashMap load factor from the default 0.75 to 0.5, which improves lookup speed at the cost of slightly increased memory consumption. The change is based on experimental benchmarking on index-heavy problems and includes comprehensive documentation explaining the rationale.

  • Decreased HashMap load factor from default (0.75) to 0.5 for improved lookup performance
  • Added detailed documentation explaining the choice of initial capacity (16) and load factor (0.5)
  • Documented the trade-offs between memory consumption and performance

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 7, 2026

@triceo triceo merged commit 9e1a26e into TimefoldAI:main Jan 7, 2026
40 checks passed
@triceo triceo deleted the load-factor-50 branch January 7, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants