#reference-counting #pool #items #synchronization #handle

toy_pool

Pool with reference-counted items

2 releases

0.1.1 Aug 25, 2021
0.1.0 Aug 25, 2021

#72 in #handle

MIT license

14KB
370 lines

toy_pool

Items in the pool will be reference-counted with strong Handle s. When no Handle is referring to an item, it can be removed on synchronization, or you can handle it manually.

Motivation

I'm going to re-implement my-game 's scene graph with this crate.


lib.rs:

Pool with reference-counted items

Dependencies

~1.5MB
~36K SLoC