2 releases
new 0.1.1 | Feb 21, 2025 |
---|---|
0.1.0 | Feb 21, 2025 |
#673 in Asynchronous
Used in odem-rs
430KB
6.5K
SLoC
ODEM-rs Util
odem-rs-util
offers additional utility structures that improve model development in ODEM-rs.
It provides object pools, random number streams, and statistics collection tools improve modeling ergonomics.
Features
- Dynamic object pooling for efficient memory reuse.
- Deterministic random number generation with independent streams using
rand
. - Statistical utilities for model evaluation.
- Physical dimensions for quantities using
uom
.
Of these, only dynamically sized object pools require feature alloc
to be active.
Installation
It is recommended to use the odem-rs
entry crate for ODEM-rs, but it is possible to use this crate together with
the simulator core from odem-rs-core
. To use it, add the following line to your Cargo.toml
:
[dependencies]
odem-rs-util = "*"
License
Licensed under MIT. See LICENSE for details.
Dependencies
~5–7.5MB
~143K SLoC