New issue
Advanced search Search tips

Issue 770877 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Improve access on childNodes

Project Member Reported by lfg@chromium.org, Oct 2 2017

Issue description

If a node is appended/removed from the ChildNodeList, blink invalidates the entire CollectionIndexCache, which means we need to (linearly) recompute the size during the next array access.

See attached microbenchmark for the problematic pattern.

 
node-list-change.html
396 bytes View Download

Comment 2 by lfg@chromium.org, Oct 3 2017

Status: Fixed (was: Assigned)

Sign in to add a comment