Skip to content

Various simplifications#359

Open
purplesyringa wants to merge 7 commits into
xacrimon:masterfrom
purplesyringa:simplifications
Open

Various simplifications#359
purplesyringa wants to merge 7 commits into
xacrimon:masterfrom
purplesyringa:simplifications

Conversation

@purplesyringa
Copy link
Copy Markdown

  • Use implementations of shrink_to_fit and clear from hashbrown instead of hand-rolling them for readability and/or performance (the latter more applicable to clear than shrink_to_fit).
  • Simplify some arithmetic in capacity calculations.
  • Also fixed warnings reported by modern clippy: unused lifetimes, hand-rolled ?, hand-rolled is_some_and.

I understand there might not be bandwidth for reviewing trivial PRs, feel free to close without justification if that's a problem.

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