Skip to content

perf(validation): remove unnecessary sorting on validator hot path#317

Open
dborgards wants to merge 1 commit into
developfrom
perf/309-validator-remove-hotpath-sorting
Open

perf(validation): remove unnecessary sorting on validator hot path#317
dborgards wants to merge 1 commit into
developfrom
perf/309-validator-remove-hotpath-sorting

Conversation

@dborgards

Copy link
Copy Markdown
Owner

Summary

  • Drop OrderBy from object-dictionary, sub-object, and network-topology validation loops
  • Precompute the allowed-baudrates description string as a static field

Fixes #309

Test plan

  • dotnet test --filter FullyQualifiedName~CanOpenModelValidatorTests

Made with Cursor

Iterate object dictionary, sub-objects, and network nodes directly and precompute the allowed-baudrates message once.

Fixes #309

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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