https://github.com/hactarce/approx_collections
Collections using approximate floating-point comparison
https://github.com/hactarce/approx_collections
Last synced: 5 months ago
JSON representation
Collections using approximate floating-point comparison
- Host: GitHub
- URL: https://github.com/hactarce/approx_collections
- Owner: HactarCE
- License: apache-2.0
- Created: 2025-07-15T05:37:32.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-15T06:35:18.000Z (11 months ago)
- Last Synced: 2025-07-15T14:39:08.040Z (11 months ago)
- Language: Rust
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# approx_collections
Collections using approximate floating-point comparison.
See [the docs](https://docs.rs/approx_collections/latest/approx_collections/) for a list of collections.
## Testing
I recommend setting the environment variable `PROPTEST_CASES` to `1_000_000` to test more cases (default is only `256`) and running tests using `cargo test --release`.
## Future plans
- Add proper iterator types for `ApproxHashMap`
- Implement `IntoIterator` for `ApproxHashMap`, `&ApproxHashMap`, and `&mut ApproxHashMap`