Expand description
Optimizations and refactoring helpers to reduce allocations
Modules§
- clone_
reduction - Helper to avoid cloning in common patterns
Structs§
- Optimized
Param Map - Optimized parameter mapping that reduces clones
- Optimized
String Map - Optimized replacement for HashMap<String, String> that reduces allocations
- String
Cache - Cache for commonly used strings to avoid repeated allocations
Traits§
- String
Optimizations - Convert common string operations to use Cow to avoid clones
Type Aliases§
- CowStr
- String storage that can be either owned or borrowed This reduces clones when strings don’t need to be modified
- Shared
String - Shared string that avoids cloning for read-only access