Decision Workspace
stacked_type_map vs compact-map vs smolmap
Side-by-side comparison of Rust crates
37
stacked_type_map
growingv0.1.0
Compile time map of any type.
41
compact-map
growingv0.1.0
'Small map' optimization: store up to a small number of key-value pairs on the stack.
36
smolmap
growingv0.1.0-alpha.0
A hashmap on the stack.
Core Metrics
| stacked_type_map | compact-map | smolmap | |
|---|---|---|---|
| Health Score | 37 | 41 | 36 |
| Total Downloads | 1.6K | 1.5K | 1.5K |
| 30d Downloads | 4 | 6 | 3 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 1 |
| Last Updated | 1257d ago | 708d ago | 1015d ago |
| Age | 3y 5m | 1y 11m | 2y 9m |
Health Breakdown
stacked_type_map
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
10
compact-map
Maintenance
1
Quality
18
Community
5
Popularity
4
Documentation
13
smolmap
Maintenance
1
Quality
15
Community
3
Popularity
4
Documentation
13
Technical Details
| stacked_type_map | compact-map | smolmap | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.1.0-alpha.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | AGPL-3.0 |
| Dependencies | 0 | 1 | 1 |
| Crate Size | 3KB | 19KB | 14KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compact-map leads with a health score of 41/100, but none of the options score above 80.
- •stacked_type_map has the most downloads (1.6K), suggesting wider adoption.
- •⚠ stacked_type_map, compact-map, smolmap have not been updated in over a year.