counting-pointer 0.2.0

Provides 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.
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented0 out of 0 items with examples
  • Size
  • Source code size: 1.33 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.54 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Documentation
  • wbcchsyn/rust-counting-pointer
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • wbcchsyn

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