mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 22:29:13 +00:00
Introduce optimization that determines if one node is preceding, following, ancestor or descdendant of another node by comparing ancestors chains of both nodes which is much cheaper than using Node::is_before() that can walk whole subtree in the worst case.
83 KiB
83 KiB