-
Notifications
You must be signed in to change notification settings - Fork 738
Comparing changes
Open a pull request
base repository: lincolnloop/python-qrcode
base: v8.0
head repository: lincolnloop/python-qrcode
compare: v8.2
- 15 commits
- 14 files changed
- 5 contributors
Commits on Sep 2, 2024
-
Optimize QRColorMask apply_mask method for enhanced performance
This commit introduces optimizations to the apply_mask method in the QRColorMask class to improve performance. Changes include: 1. Replacing getpixel and putpixel with direct pixel manipulation using the load() method, which speeds up the process. 2. Implementing a caching mechanism to reuse color transformations for identical pixel colors, reducing redundant calculations. 3. Adding conditions to skip processing for background color pixels to reduce computational load. These optimizations have significantly reduced the method's execution time. In some experiments, these changes have resulted in performance improvements of over ten times compared to the original method, especially for larger images.
Configuration menu - View commit details
-
Copy full SHA for 820eacf - Browse repository at this point
Copy the full SHA 820eacfView commit details
Commits on Oct 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c4b9bd8 - Browse repository at this point
Copy the full SHA c4b9bd8View commit details -
Fix cache-related bug in apply_mask for masks with position-dependent…
… colors - Resolved cache issues in `apply_mask` by setting `use_cache` to `False` by default, preventing errors in masks where pixel position affects color (e.g., RadialGradientColorMask). - Enabled `use_cache` for `SolidFillColorMask`, as pixel position is not relevant, preserving performance where applicable.
Configuration menu - View commit details
-
Copy full SHA for 8c8632a - Browse repository at this point
Copy the full SHA 8c8632aView commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4c66934 - Browse repository at this point
Copy the full SHA 4c66934View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42ee50e - Browse repository at this point
Copy the full SHA 42ee50eView commit details
Commits on Nov 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dc4831b - Browse repository at this point
Copy the full SHA dc4831bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cb996d - Browse repository at this point
Copy the full SHA 7cb996dView commit details
Commits on Apr 2, 2025
-
Merge pull request #386 from hugovk/main
Add support for Python 3.13
Configuration menu - View commit details
-
Copy full SHA for 10da1ba - Browse repository at this point
Copy the full SHA 10da1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dcf89c - Browse repository at this point
Copy the full SHA 5dcf89cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd3cd7b - Browse repository at this point
Copy the full SHA cd3cd7bView commit details
Commits on May 1, 2025
-
Merge pull request #372 from smalyu/patch-1
Optimize QRColorMask apply_mask method for enhanced performance
Configuration menu - View commit details
-
Copy full SHA for c5e3f01 - Browse repository at this point
Copy the full SHA c5e3f01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ced7b4 - Browse repository at this point
Copy the full SHA 2ced7b4View commit details -
Merge pull request #383 from btimby/spelling
Allow correct spelling of parameters.
Configuration menu - View commit details
-
Copy full SHA for d2674f8 - Browse repository at this point
Copy the full SHA d2674f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b593a2b - Browse repository at this point
Copy the full SHA b593a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3704f57 - Browse repository at this point
Copy the full SHA 3704f57View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v8.0...v8.2