react-native-custom-qr-codes icon indicating copy to clipboard operation
react-native-custom-qr-codes copied to clipboard

[Optimization] Generate only required pieces

Open id-ilych opened this issue 6 years ago • 0 comments

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).

id-ilych avatar May 08 '18 07:05 id-ilych