Skip to content

optimize PartialEq for Cow, delegate to &str Display implementation directly instead of call to write! macro#53

Open
Paladynee wants to merge 1 commit into
anderslanglands:masterfrom
Paladynee:master
Open

optimize PartialEq for Cow, delegate to &str Display implementation directly instead of call to write! macro#53
Paladynee wants to merge 1 commit into
anderslanglands:masterfrom
Paladynee:master

Conversation

@Paladynee
Copy link
Copy Markdown

@Paladynee Paladynee commented May 16, 2026

also fixes a typo

i've looked at the generated LLVM-IR with and without the prepopulated passes with optimizations, and overall it is a clear improvement because there is one layer of dereference that was missing in PartialEqs for Cow.

…irectly instead of generating code, fix a typo
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.

1 participant