ladybird/Userland
Timothy Flynn 447ecc2155 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 <ul> list.

Instead, upon creation, traverse the DOM JSON and create a map of child
nodes to their parent. Then those two lookups become hash map lookups
rather than a DFS traversal.
2021-07-01 19:19:46 +02:00
..
Applets Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Applications FileManager: Remove clicked breadcrumbs for non-existing directories 2021-07-01 17:15:26 +04:30
Demos Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
DevTools Userland: Disable Hackstudio and UE on x86_64 2021-06-30 19:05:51 +02:00
DynamicLoader DynamicLoader: Remove obsolete comment 2021-07-01 17:22:22 +02:00
Games Games: Add Spider 2021-06-24 10:32:53 +02:00
Libraries LibWeb: Maintain a map of child-to-parent nodes in OOPWV DOM Inspector 2021-07-01 19:19:46 +02:00
Services InspectorServer: Use LocalSocket method to get pid 2021-07-01 17:49:18 +02:00
Shell AK: Remove the LexicalPath::is_valid() API 2021-06-30 11:13:54 +02:00
Utilities Utilities: Fix Build on x86_64 2021-06-30 19:05:51 +02:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00