Re:Modernizing the DOM Tree in Microsoft Edge
by wtetzner on Thursday April 20, 2017 @04:09PM
(#14160367)
How could that happen, given that children isn't a pointer?
[ Parent
| on HN ]
Re:Modernizing the DOM Tree in Microsoft Edge
by Someone on Friday April 21, 2017 @01:03PM
(#14167306)
It is C++, and std::vector has an operator[] that makes a vector behave like a convention C 'pointer to data' for array accesses (in fact, the compiler likely will optimize the access to exactly what you would get if the declaration were of a C array of pointers to node)