Files
react-native/ReactAndroid/src/main/java/com/facebook/react
Genki KondoandFacebook GitHub Bot b2454f9e66 Add feature flag for spannable cache
Summary:
sSpannableCache is a significant user of Java heap memory - up to 0.22MB is retained by sSpannableCache.

It turns out sSpannableCache was never hitting as hashCode is different for the same attributedString contents. attributedString.getInt("hash") provides the expected hash code.

This indicates removing spannableCache will not affect perf. Will gate just in case though.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D34900414

fbshipit-source-id: 7563cde6ba9dc153072e7aebede99389ce3153e7
2022-03-16 10:38:50 -07:00
..
2022-02-22 12:23:49 -08:00
2022-03-16 08:10:55 -07:00
2022-03-16 08:10:55 -07:00
2022-03-16 08:10:55 -07:00
2022-03-16 08:10:55 -07:00
2022-03-04 15:42:52 -08:00
2021-09-01 11:26:27 -07:00