Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions collector/compile-benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ They mostly consist of real-world crates.
- **unicode-normalization-0.1.19**: Unicode character composition and decomposition
utilities. Uses huge `match` statements that stress the compiler in unusual
ways.
- **unicode-normalization-0.1.24**: Unicode character composition and decomposition
utilities. Uses huge `match` statements that stress the compiler in unusual
ways.

## Secondary

Expand Down
5 changes: 5 additions & 0 deletions collector/compile-benchmarks/REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ path = "unicode-normalization-0.1.19/**"
SPDX-FileCopyrightText = "unicode-normalization contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "unicode-normalization-0.1.24/**"
SPDX-FileCopyrightText = "unicode-normalization contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "unify-linearly/**"
SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
target
Cargo.lock
#Cargo.lock
Copy link
Member

@Kobzol Kobzol Apr 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed, we can just force add the file to our git index and it will be tracked from then on. But no harm in this either.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, from the how-to-update docs I wasn't sure if it was necessary or if -f was enough.

scripts/tmp
*.pyc
*.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/lookups.rs b/src/lookups.rs
index ea7a96c4..c1938cd1 100644
--- a/src/lookups.rs
+++ b/src/lookups.rs
@@ -43,6 +43,7 @@ pub(crate) fn composition_table(c1: char, c2: char) -> Option<char> {
}

pub(crate) fn canonical_fully_decomposed(c: char) -> Option<&'static [char]> {
+ println!("testing");
mph_lookup(
c.into(),
CANONICAL_DECOMPOSED_SALT,

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ features = ["alloc"]
[features]
default = ["std"]
std = []

[workspace]
Loading