Skip to content

Conversation

@preinlein
Copy link
Contributor

@preinlein preinlein commented Jan 30, 2026

What does this PR do?

  • add a deny lint for the use of HashMap
  • replaces current instances of HashMap with FxHashMap
  • update optimize-hunt skill to reflect this change

Motivation

Instead of needing to do optimizations to move from HashMap to FxHashMap, this disallows HashMap with a linting rule.

Related issues

N/A

Additional Notes

Relates to #1720, @blt had mentioned that we should just move from an optimization hint to a lint for the use of HashMap.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@preinlein preinlein force-pushed the paul.reinlein/add-hashmap-deny-lint branch from 029f07b to 474eb24 Compare January 30, 2026 19:48
(port_with_protocol, HashMap::<(), ()>::new())
(
port_with_protocol,
std::collections::HashMap::<(), ()>::new(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: This is the only use of HashMap left, it's required for ContainerCreateBody properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants