Even faster flexbox #122
Reference in New Issue
Block a user
No description provided.
Delete Branch "even-faster-flexbox"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This branch has a series of changes on top #121 that makes css-layout an extra 15% faster in my benchmarks on Android.
Besides a couple of micro-optimizations, this branch implements an optimization for simple stacked layouts (vertical/horizontal layouts with non-flexible children aligned with STRETCH/FLEX_START) which are very common in most UIs. This change allows us to skip Loop C and D (main and cross axis, respectively) partially and even completely in many cases.