diff options
author | Canop <cano.petrole@gmail.com> | 2022-11-05 14:04:05 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2022-11-05 14:04:05 +0100 |
commit | 1a7780ecc2d3a9b1a4a081f0146335fcbeb6774b (patch) | |
tree | 0649766323a571d7b8787cc0fe0840e9492d2bcc | |
parent | 2b1dddaace34f41d2f88d02c483aef3eb53e3742 (diff) |
fix bench compilation
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | benches/composite.rs | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b08ff4..7266776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### next +- max file size for content search now configurable (default is now 10MB) - Fix #626 + ### v1.16.2 - 2022-11-04 <a name="v1.16.2"></a> - you can restrict the panels in which verbs apply with the verb configuration `panels` parameter @@ -140,7 +140,7 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "broot" -version = "1.16.2" +version = "1.16.3-dev" dependencies = [ "ahash 0.7.6", "ansi_colours", @@ -1,6 +1,6 @@ [package] name = "broot" -version = "1.16.2" +version = "1.16.3-dev" authors = ["dystroy <denys.seguret@gmail.com>"] repository = "https://github.com/Canop/broot" homepage = "https://dystroy.org/broot" diff --git a/benches/composite.rs b/benches/composite.rs index e676457..ff5bd4b 100644 --- a/benches/composite.rs +++ b/benches/composite.rs @@ -22,7 +22,7 @@ fn bench_score_of_composite(gb: &mut Bench) { let name = format!("Composite({:?})::score_of", &pattern); gb.task(name, |b| { let parts = CommandParts::from(pattern.to_string()); - let cp = Pattern::new(&parts.pattern, &search_modes).unwrap(); + let cp = Pattern::new(&parts.pattern, &search_modes, 10*1024*1024).unwrap(); b.iter(|| { for name in shared::NAMES { pretend_used(cp.score_of_string(name)); |