diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f6d94fa8..a43759cd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Improved slider logic in larger expressions. +Increased the default value DFT_NODE_LIMIT to 100,000 (from +50,000). This increases the likelihood that files get a syntactic diff +whilst still having acceptable performance. + ### Display Fixed an issue where whole file additions/removals were printed twice. diff --git a/src/options.rs b/src/options.rs index 27a11d880..7757dc8de 100644 --- a/src/options.rs +++ b/src/options.rs @@ -6,7 +6,7 @@ use const_format::formatcp; use crate::style::BackgroundColor; -pub const DEFAULT_NODE_LIMIT: u32 = 50_000; +pub const DEFAULT_NODE_LIMIT: u32 = 100_000; pub const DEFAULT_BYTE_LIMIT: usize = 1_000_000; pub enum ColorOutput {