Increase the default value of DFT_NODE_LIMIT

Closes #136
html_output
Wilfred Hughes 2022-02-11 21:54:24 +07:00
parent 99269fcbdf
commit ab1071cfda
2 changed files with 5 additions and 1 deletions

@ -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.

@ -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 {