FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: improve performance of SolidFillColorMask apply_mask function by matthewrosse · Pull Request #397 · lincolnloop/python-qrcode · GitHub

feat: improve performance of SolidFillColorMask apply_mask function - #397

Merged
SmileyChris merged 1 commit into
lincolnloop:mainfrom
matthewrosse:feature/solid-fill-color-mask-performance-improvement
Jan 11, 2026
Merged

feat: improve performance of SolidFillColorMask apply_mask function#397
SmileyChris merged 1 commit into
lincolnloop:mainfrom
matthewrosse:feature/solid-fill-color-mask-performance-improvement

Conversation

Copy link
Copy Markdown
Contributor

This PR solves a performance issue with the current SolidFillColorMask apply_mask function implementation.

Benchmarks for content length of 1000 bytes (bg != white && fg != black):

Before: 440.4522 seconds
After: 0.4058 seconds

Result: x1100 speedup

bartTC commented Jul 22, 2025

Copy link
Copy Markdown
Member

@matthewrosse Would you check your code against the latest state of main, especially the changes of #372? Does this add improvement over the current solution?

SmileyChris added a commit that referenced this pull request Jan 11, 2026
SmileyChris merged commit 6de51df into lincolnloop:main Jan 11, 2026

Copy link
Copy Markdown
Member

Merged! The performance improvement is confirmed (~1000x speedup). Great work.

matthewrosse deleted the feature/solid-fill-color-mask-performance-improvement branch January 11, 2026 23:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL