From 447ecc2155002b8804cfe54d3a2e8320fd04862d Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 1 Jul 2021 12:27:32 -0400 Subject: [PATCH] LibWeb: Maintain a map of child-to-parent nodes in OOPWV DOM Inspector Currently, each time parent_index() is invoked, two depth-first searches are incurred to find the node's parent and grandparent. This becomes particularly expensive, for example, when trying to scroll through a large