Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Increase capacity of element arena to 8MB
Antonio Scandurrab640e0e7afe4
diff --git a/crates/gpui/src/window.rs b/crates/gpui/src/window.rsindex 1ae632dfdee..1bf07204596 100644--- a/crates/gpui/src/window.rs+++ b/crates/gpui/src/window.rs@@ -106,7 +106,7 @@ slotmap::new_key_type! {}thread_local! {- pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(4 * 1024 * 1024));+ pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(8 * 1024 * 1024));}impl FocusId {