hoanglam10499 / react-native-drop-shadow

https://www.npmjs.com/package/react-native-drop-shadow
MIT License
218 stars 9 forks source link

Performance Issues #17

Closed ridafkih closed 1 year ago

ridafkih commented 1 year ago

Definitely taking quite the performance hit on Android while using this library. I'm curious, does it currently memoize generated bitmaps of the same pixel dimensions, or is it re-computing them repeatedly? The reason I ask is that all my elements are the same width and height, so theoretically the resulting bitmap should be able to be re-used between them, meaning even if there are thousands of elements the computations would only have to be done for one.