react-native-custom-qr-codes
react-native-custom-qr-codes copied to clipboard
[Optimization] Generate only required pieces
Inverted pieces is generated along with regular ones to use when background image is set. But these cases are mutually exclusive so you either need regular OR inverted ones. Now only pieces that are going to be used are generated which is roughly 2x speed up (300ms -> 150ms in my case).