Even faster flexbox #122

Merged
lucasr merged 11 commits from even-faster-flexbox into master 2015-09-10 14:25:41 -07:00
lucasr commented 2015-09-10 03:25:24 -07:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No description provided.