mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
This class was being copied all over the place, however, most of these cases can be easily prevented with `auto const&` or `NonnullRawPtr<>`. It also didn't have a move constructor, causing `Vector` to copy on every resize as well. Removing all these copies results in an almost 15% increase in performance for CSS parsing, as measured with callgrind.
20 KiB
20 KiB