Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
More element arena (#11258)
Conrad Irwin0fce20d8dac9
diff --git a/crates/gpui/src/window.rs b/crates/gpui/src/window.rsindex 4d639b37373..4d2c3e15c87 100644--- a/crates/gpui/src/window.rs+++ b/crates/gpui/src/window.rs@@ -95,7 +95,8 @@ slotmap::new_key_type! {}thread_local! {- pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(8 * 1024 * 1024));+ /// 8MB wasn't quite enough...+ pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(32 * 1024 * 1024));}impl FocusId {