lincolnloop / python-qrcode

Python QR Code image generator
https://pypi.python.org/pypi/qrcode
Other
4.36k stars 666 forks source link

Cache blank versions of QR codes, ~7% speedup #197

Closed ShyWolf42 closed 3 years ago

ShyWolf42 commented 4 years ago

Cache blank versions of QR modules so they don't have to be regenerated for the same QR version. Gives a ~ 6% speedup, especially when generating many codes.