From 0da0b532d04981346614e5fa9f53008958e3c233 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Sat, 21 Feb 2015 13:18:28 -0800 Subject: [PATCH] Forgot to set rope leaf size back to something reasonable. --- src/buffer/rope.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer/rope.rs b/src/buffer/rope.rs index c392027..12a9cf6 100644 --- a/src/buffer/rope.rs +++ b/src/buffer/rope.rs @@ -4,7 +4,7 @@ use std::str::Graphemes; use std::ops::Index; use string_utils::{grapheme_count, grapheme_count_is_less_than, insert_text_at_grapheme_index, remove_text_between_grapheme_indices, split_string_at_grapheme_index}; -pub const MIN_NODE_SIZE: usize = 1; +pub const MIN_NODE_SIZE: usize = 64; pub const MAX_NODE_SIZE: usize = MIN_NODE_SIZE * 2;