Skip to content

Conversation

@triceo
Copy link
Collaborator

@triceo triceo commented Dec 21, 2025

The update queue does deduplicate the updates.
But we can skip iterating the entire collection, if we've already been over it once.

Another small bump in CS performance.

@Christopher-Chianelli Approach this with caution. I have seen this skip the collection more often than it iterates over it, but for that, the performance improvement is very small. There may be something I do not understand about this code.

(I also make some updates to hashCode all over the board, bringing them all to the same style, and therefore the same performance profile.)

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
60.5% Coverage on New Code (required ≥ 70%)
10.0% Duplication on New Code (required ≤ 5%)

See analysis details on SonarQube Cloud

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.

1 participant