deadgrep icon indicating copy to clipboard operation
deadgrep copied to clipboard

Large single-line files hang Emacs

Open Wilfred opened this issue 6 years ago • 0 comments

If there's a >1 MiB JSON file, all one line, which matches the search, then Emacs hangs whilst the regex is matched to the whole line. We should truncate before applying the regex.

Wilfred avatar Mar 12 '19 11:03 Wilfred