DescriptionRemove broken sibling selector optimization
Blink r154053 landed with a broken optimization for nth-child that
this patch removes.
Background: nth-child was formerly O(1) and nth-last-child was O(N^2),
but r154053 reversed these making the more common nth-child slower.
It included an optimization to make both O(1), but the optimization
was broken in one of the merges.
I will re-land the working optimization in another patch, and with
a magnitude perf test Ojan, eseidel, and myself wrote to ensure it
works.
R=ojan@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154072
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|