Truly independent web browser
LibWeb: Use the fast hash for the subgrid block size memo
Aliaksandr Kalenikb79c15158c43
diff --git a/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rs b/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rsindex 4f8142a6fbe..dc0758e9e9d 100644--- a/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rs+++ b/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rs@@ -1185,7 +1185,7 @@ struct SubgridBlockSizeKey {/// Block sizes measured for column subgrids during one run of an independent grid, shared by every subgrid context/// nested under it — so a nest of subgrids measures each one once per key, rather than once per request at/// every level of the nest, which grows exponentially with its depth.-type SubgridBlockSizeMemo = std::rc::Rc<std::cell::RefCell<std::collections::HashMap<SubgridBlockSizeKey, CssPixels>>>;+type SubgridBlockSizeMemo = std::rc::Rc<std::cell::RefCell<HashMap<SubgridBlockSizeKey, CssPixels>>>;pub(crate) struct GridFormattingContext<'pass> {run: FormattingContextRun<'pass>,