Skip to content

fix: process each entity only once and in topological order#1662

Merged
triceo merged 2 commits into
TimefoldAI:mainfrom
Christopher-Chianelli:fix/sort-changed-before-processing
Jun 27, 2025
Merged

fix: process each entity only once and in topological order#1662
triceo merged 2 commits into
TimefoldAI:mainfrom
Christopher-Chianelli:fix/sort-changed-before-processing

Conversation

@Christopher-Chianelli

Copy link
Copy Markdown
Contributor

Previously, the code relied on eventually consistency to avoid collections (that is, sometimes suppliers will be called with stale data, but will always eventually be called with correct data).
Now, an initial sort is done to ensure no data is stale, and a map and comparator are utilized to prevent unnecessary computations.

Previously, the code relied on eventually consistency to avoid collections
(that is, sometimes suppliers will be called with stale data, but will
always eventually be called with correct data).
Now, an initial sort is done to ensure no data is stale, and a map
and comparator are utilized to prevent unnecessary computations.
@sonarqubecloud

Copy link
Copy Markdown

@triceo triceo merged commit 2c9bb0a into TimefoldAI:main Jun 27, 2025
42 of 43 checks passed
@Christopher-Chianelli Christopher-Chianelli deleted the fix/sort-changed-before-processing branch May 14, 2026 18:02
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