Skip to content

Commit 894f7ff

Browse files
committed
Add extra bits.
1 parent 4eacf82 commit 894f7ff

File tree

6 files changed

+48
-1
lines changed

6 files changed

+48
-1
lines changed

collector/compile-benchmarks/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ They mostly consist of real-world crates.
5959
- **unicode-normalization-0.1.19**: Unicode character composition and decomposition
6060
utilities. Uses huge `match` statements that stress the compiler in unusual
6161
ways.
62+
- **unicode-normalization-0.1.24**: Unicode character composition and decomposition
63+
utilities. Uses huge `match` statements that stress the compiler in unusual
64+
ways.
6265

6366
## Secondary
6467

collector/compile-benchmarks/REUSE.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,11 @@ path = "unicode-normalization-0.1.19/**"
289289
SPDX-FileCopyrightText = "unicode-normalization contributors"
290290
SPDX-License-Identifier = "MIT OR Apache-2.0"
291291

292+
[[annotations]]
293+
path = "unicode-normalization-0.1.24/**"
294+
SPDX-FileCopyrightText = "unicode-normalization contributors"
295+
SPDX-License-Identifier = "MIT OR Apache-2.0"
296+
292297
[[annotations]]
293298
path = "unify-linearly/**"
294299
SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
target
2-
Cargo.lock
2+
#Cargo.lock
33
scripts/tmp
44
*.pyc
55
*.txt
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 ea7a96c4..c1938cd1 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/compile-benchmarks/unicode-normalization-0.1.24/Cargo.lock

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/compile-benchmarks/unicode-normalization-0.1.24/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ features = ["alloc"]
6464
[features]
6565
default = ["std"]
6666
std = []
67+
68+
[workspace]

0 commit comments

Comments
 (0)