intid-allocator 0.3.9

Types to allocate and free integer ids
Documentation

intid-allocator.rs

Allocates integer ids which implement intid::IntegerIdCounter.

Use IdAllocator if you want to be able to free existing ids for reuse. This will minimize the integer value of the keys, reducing memory needed for lookup tables.

Use UniqueIdAllocator or UniqueIdAllocatorAtomic if you don’t care about reusing existing keys. These are more efficient and never require any allocation.

License

Licensed under either the Apache 2.0 License or MIT License at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.