summaryrefslogtreecommitdiff
path: root/tests/migration_test_data_persistence/migrations
diff options
context:
space:
mode:
authorJames Fysh <james.fysh@kraken.tech>2026-01-16 10:08:33 +1100
committernessita <124304+nessita@users.noreply.github.com>2026-01-19 16:08:34 -0300
commit59fcd2a1990775d9e893a44a45222d8a54112570 (patch)
tree1559674e1cb50e4afbc4cff1b7feae49472991de /tests/migration_test_data_persistence/migrations
parentd6cca8b904de144946453aea93dd627c09abfca9 (diff)
Fixed #36869 -- Optimized MigrationGraph._generate_plan membership checks.
Previously, `_generate_plan()` relied on list membership checks, resulting in quadratic behavior as the plan grew. On large migration graphs this became a significant performance bottleneck. This change uses `OrderedSet` for the plan, reducing the complexity to linear while preserving insertion order and behavior. Co-authored-by: Nick Pope <nick@nickpope.me.uk>
Diffstat (limited to 'tests/migration_test_data_persistence/migrations')
0 files changed, 0 insertions, 0 deletions