static-rc
static-rc copied to clipboard
Compile-time reference counting
Hey ✌🏻 I'm planning to use `static-rc` amd `ghost-cell` in a bigger project and would like to know if you're interested in polishing these crates beyond the "PoC" phase, i.e....
In current implementation, a `StaticRc` where `NUM` < `DEN`, it will do nothing on `Drop`. It can probably lead to memory leak if a "full" pointer is split up to...
Sometimes, it needs to yield a temporarily shared pointer of `StaticRc`. In `Rc`, it is done by `Clone::clone`, and the reference counting in `Rc` can make sure the shared objects...
HI there! I figured I'd take a shot at building a doubly-linked list with static-rc, and it turned out to be pretty difficult. The main difficulty is in constructing reference...