15 releases
| 0.3.2 | Dec 11, 2024 |
|---|---|
| 0.3.0 | Nov 15, 2021 |
| 0.2.4 | Sep 28, 2020 |
| 0.2.2 | Jul 7, 2020 |
| 0.0.6 | Jun 28, 2020 |
#155 in Concurrency
1,100 downloads per month
Used in 4 crates
68KB
1.5K
SLoC
Elysees
Fork of triomphe, which is a fork of Arc. This has the following advantages over std::sync::Arc:
elysees::Arcdoesn't support weak references: we save space by excluding the weak reference count, and we don't do extra read-modify-update operations to handle the possibility of weak references.elysees::ArcBoxallows one to construct a temporarily-mutableArcwhich can be converted to a regularelysees::Arclaterelysees::OffsetArccan be used transparently from C++ code and is compatible with (and can be converted to/from)elysees::Arcelysees::ArcBorrowis functionally similar to&elysees::Arc<T>, however in memory it's simply a (non-owned) pointer to the innerArc. This helps avoid pointer-chasing.elysees::OffsetArcBorrowis functionally similar to&elysees::Arc<T>, however in memory it's simply&T. This makes it more flexible for FFI; the source of the borrow need not be anArcpinned on the stack (and can instead be a pointer from C++, or anOffsetArc). Additionally, this helps avoid pointer-chasing.elysees::ArcRefis a union of anArcand anArcBorrow
Dependencies
~380–610KB
~10K SLoC