Skip to content

Replace linear search in SharedPosition::AddPoint with O(1)#1872

Open
ifcquery wants to merge 7 commits intoThatOpen:mainfrom
Creoox:replace-linear-search-in-AddPoint
Open

Replace linear search in SharedPosition::AddPoint with O(1)#1872
ifcquery wants to merge 7 commits intoThatOpen:mainfrom
Creoox:replace-linear-search-in-AddPoint

Conversation

@ifcquery
Copy link
Contributor

@ifcquery ifcquery commented Feb 27, 2026

The existing linear search for existing points in SharedPosition::AddPoint leads to infinite search time for some models.
The proposed change has O(1) without braking anything

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