counting-pointer

Crates.iocounting-pointer
lib.rscounting-pointer
version0.2.0
sourcesrc
created_at2021-01-24 19:21:43.248572
updated_at2021-02-19 14:46:55.980594
descriptionProvides structs of reference counting pointers. The perforance is better than 'std::rc::Rc' and than 'std::sync::Arc' by counting only the strong references but not weak the references.
homepage
repositoryhttps://github.com/wbcchsyn/rust-counting-pointer.git
max_upload_size
id346129
size1,336,087
wbcchsyn (wbcchsyn)

documentation

https://wbcchsyn.github.io/rust-counting-pointer/counting_pointer/index.html

README

counting-pointer

counting-pointer provides struct Sc and Asc . They behave like std::rc::Rc and std::sync::Arc except for the followings.

  • Sc and Asc treats only strong reference but not weak reference for the performance.
  • Sc and Asc takes GlobalAlloc type as a template parameter.

License: LGPL-3.0-or-later OR Apache-2.0 OR BSD-2-Clause

Commit count: 76

cargo fmt