Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use static values for undefined and auto lengths (#1734)
Summary: X-link: facebook/react-native#47305 X-link: facebook/litho#1030 Profiling in a test app with many undefined lengths shows this saves roughly 33% of time spent in Yoga. ## Changelog [General][Fixed] Reduce amount of time spent in Yoga by reusing statically defined values in StyleLength::getLength() Reviewed By: yungsters, mdvacca Differential Revision: D65207753
- Loading branch information