Skip to content

Commit 60cf69f

Browse files
committed
Add unicode-normalization-0.1.19 scaffolding
1 parent 76f6878 commit 60cf69f

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

collector/benchmarks/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ They mostly consist of real-world crates.
4545
- **unicode_normalization**: Unicode character composition and decomposition
4646
utilities. Uses huge `match` statements that stress the compiler in unusual
4747
ways.
48+
- **unicode-normalization-0.1.19**: Unicode character composition and decomposition
49+
utilities. Uses huge `match` statements that stress the compiler in unusual
50+
ways.
4851
- **webrender**: A web renderer. Used by Firefox and Servo.
4952
- **webrender-wrench**: WebRender's test bench. An executable pulling in large
5053
dependencies.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/lookups.rs b/src/lookups.rs
2+
index 0111d204..b3a8271f 100644
3+
--- a/src/lookups.rs
4+
+++ b/src/lookups.rs
5+
@@ -43,6 +43,7 @@ pub(crate) fn composition_table(c1: char, c2: char) -> Option<char> {
6+
}
7+
8+
pub(crate) fn canonical_fully_decomposed(c: char) -> Option<&'static [char]> {
9+
+ println!("testing");
10+
mph_lookup(
11+
c.into(),
12+
CANONICAL_DECOMPOSED_SALT,

collector/benchmarks/unicode-normalization-0.1.19/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ features = ["alloc"]
3030
[features]
3131
default = ["std"]
3232
std = []
33+
34+
[workspace]

0 commit comments

Comments
 (0)