News for hackers. Stuff that matters.
Re:Modernizing the DOM Tree in Microsoft Edge by jdmichal on Thursday April 20, 2017 @11:15AM (#14157404)
That's true when you have a `vector<node>`, but the structure was described as a `vector<node*>`. So what's adjacent to your current position is the pointer to the next node, not the node itself.

Which one is optimal depends a lot on the size of a `node`, as moving elements around in the DOM will require memory copies in the first case.

There are no comments on this comment yet.