Skip to content

Use reverse lookup instead of nested loop for autospc#204

Merged
victorkemp merged 1 commit into
MystranSolver:devfrom
Copper280z:dev
Apr 7, 2026
Merged

Use reverse lookup instead of nested loop for autospc#204
victorkemp merged 1 commit into
MystranSolver:devfrom
Copper280z:dev

Conversation

@Copper280z
Copy link
Copy Markdown
Contributor

This change replaces the previous nested loop algorithm with a reverse lookup. The overall routine is now O(NDOFG + NDOFN) instead of O(NDOFN × NDOFG). This uses more memory, but the performance improvement is significant.

@victorkemp victorkemp merged commit df87550 into MystranSolver:dev Apr 7, 2026
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