Crates.io | idheap |
lib.rs | idheap |
version | 0.0.1 |
source | src |
created_at | 2022-05-27 01:54:39.571921 |
updated_at | 2022-05-27 01:54:39.571921 |
description | A HashMap with an LRU feature. |
homepage | |
repository | https://repos.qrnch.tech/pub/idheap |
max_upload_size | |
id | 594712 |
size | 31,006 |
The IdHeap is a simple collection of integers.
When an application requests to allocate an id from the collection it will return the lowest available id. When the application is finished with the id it is returned to the collection, which makes it a candidate for allocation again.