mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
We can use `ensure_capacity` for binding vectors if we know their sizes in advance. This ensures that binding vectors aren't reallocated during the `function_declaration_instantiation` execution. With this change, `try_grow_capacity()` and `shrink_to_fit()` are no longer visible in the `function_declaration_instantiation()` profiles when running React-Redux-TodoMVC from Speedometer.
60 KiB
60 KiB