Skip to content

Conversation

jvanvugt
Copy link
Contributor

@jvanvugt jvanvugt commented Oct 7, 2025

Another performance optimization for quad fitting. Using local variables for the line fitting statistics allows them to be stored in CPU registers and avoids memcopy-ing the struct. This speeds up quad fitting from 46.6ms to 43.7ms averaged over 100 runs on my 6MP test image with 51 tags.

Allows them to be stored in CPU registers and avoids memcopy-ing the struct

(cherry picked from commit e504236)
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