Skip to content

Migrate to hashbrown::HashMap and add workspace submodules#2

Merged
WeekendSuperhero merged 4 commits intomainfrom
weekendsuperhero/submodule_and_hashbrowns
Mar 24, 2026
Merged

Migrate to hashbrown::HashMap and add workspace submodules#2
WeekendSuperhero merged 4 commits intomainfrom
weekendsuperhero/submodule_and_hashbrowns

Conversation

@WeekendSuperhero
Copy link
Copy Markdown
Contributor

@WeekendSuperhero WeekendSuperhero commented Mar 24, 2026

Summary

Replaces standard library HashMap with hashbrown::HashMap across the codebase for improved performance, and finalizes workspace submodule structure.

Changes

  • Dependency: Added hashbrown v0.16 with rayon and serde features to workspace dependencies
  • Migration: Updated all std::collections::HashMap usages to hashbrown::HashMap
  • Workspace: Configured both agentmail and agentmail-mcp crates to use the shared hashbrown dependency
  • Sort order: Cleaned up dependency sort order in Cargo.toml files

Benefits

  • Better performance through hashbrown's optimized hashing algorithm
  • Parallel processing support via rayon feature for future concurrent operations
  • Consistent serialization/deserialization with serde feature

Testing

  • Workspace builds successfully with all crates
  • No functional changes to existing behavior

@WeekendSuperhero WeekendSuperhero changed the title Added some submodules and hashbrowns. Migrate to hashbrown::HashMap and add workspace submodules Mar 24, 2026
@WeekendSuperhero WeekendSuperhero merged commit ffe287f into main Mar 24, 2026
4 checks passed
@WeekendSuperhero WeekendSuperhero deleted the weekendsuperhero/submodule_and_hashbrowns branch March 24, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant