Skip to content

Unused label removal#114

Merged
lvella merged 3 commits intomainfrom
label-removal
Mar 19, 2026
Merged

Unused label removal#114
lvella merged 3 commits intomainfrom
label-removal

Conversation

@lvella
Copy link
Copy Markdown
Member

@lvella lvella commented Mar 18, 2026

I am not sure a new pass for this is useful.

It removed 1325 labels from reth. Does it help with APC?

Comment thread Cargo.toml
clap = { version = "4", features = ["derive"] }
derive-where = "1.4.0"
env_logger = "0.10.0"
hashbrown = "0.16"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why not std HashSet?

Copy link
Copy Markdown
Member Author

@lvella lvella Mar 18, 2026

Choose a reason for hiding this comment

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

Because the std::HashSet doesn't have get_or_insert_with, which allows me to only clone the key if not present. Besides, hashbrown is already an indirect dependency, used by wasmparser.

@lvella lvella marked this pull request as ready for review March 18, 2026 20:07
@lvella lvella merged commit 4d2230b into main Mar 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants