Skip to content

Some memory optimizations#85

Merged
hschimke merged 3 commits into
rxing-core:mainfrom
JasperDeSutter:optimize
Apr 30, 2026
Merged

Some memory optimizations#85
hschimke merged 3 commits into
rxing-core:mainfrom
JasperDeSutter:optimize

Conversation

@JasperDeSutter
Copy link
Copy Markdown
Contributor

  • Fewer Vec clones due to using Cow for luminance source get_matrix
  • Improve memory layout of hybrid binarizer black points data
  • Use a single channel image when converting BitMatrix to an image crate image

@hschimke
Copy link
Copy Markdown
Collaborator

I'm aiming to do my review of this over the weekend, thanks for the PR!

Copy link
Copy Markdown
Collaborator

@hschimke hschimke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review looks fine, will re-run tests and then merge.

@hschimke hschimke merged commit a1399b1 into rxing-core:main Apr 30, 2026
2 checks passed
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