Skip to content

Commit

Permalink
Merge branch 'main' into update-version-v0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ManyTheFish authored Nov 27, 2024
2 parents a903a6f + 344d180 commit 397bf8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions charabia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ german-segmentation = []

[dev-dependencies]
criterion = "0.5"
jemallocator = "0.5.4"
quickcheck = "1"
quickcheck_macros = "1"

mimalloc = "0.1.43"

[[bench]]
name = "bench"
Expand Down
3 changes: 2 additions & 1 deletion charabia/benches/bench.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use charabia::{Language, Script, Segment, Tokenize};
use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion};
use mimalloc::MiMalloc;

#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
static GLOBAL: MiMalloc = MiMalloc;

static DATA_SET: &[((usize, Script, Language), &str)] = &[
// short texts (~130 bytes)
Expand Down

0 comments on commit 397bf8e

Please sign in to comment.