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 (facebook#1030)
Summary: X-link: facebook/react-native#47305 X-link: facebook/yoga#1734 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