We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API update.
*::Visitor -> *::Iter.
*::Visitor
*::Iter
*::Accessor -> *::IterMut.
*::Accessor
*::IterMut
ebr::Arc -> ebr::Shared.
ebr::Arc
ebr::Shared
ebr::Arc::get_ref_with -> ebr::Shared::get_guarded_ref.
ebr::Arc::get_ref_with
ebr::Shared::get_guarded_ref
ebr::Arc::ptr -> ebr::Shared::get_guarded_ptr.
ebr::Arc::ptr
ebr::Shared::get_guarded_ptr
ebr::Arc::release_drop_in_place -> ebr::Shared::drop_in_place.
ebr::Arc::release_drop_in_place
ebr::Shared::drop_in_place
ebr::AtomicArc -> ebr::AtomicShared.
ebr::AtomicArc
ebr::AtomicShared
ebr::AtomicArc::get_arc -> ebr::AtomicShared::get_shared.
ebr::AtomicArc::get_arc
ebr::AtomicShared::get_shared
ebr::AtomicArc::try_into_arc -> ebr::AtomicShared::into_shared.
ebr::AtomicArc::try_into_arc
ebr::AtomicShared::into_shared
ebr::AtomicOwned::try_into_owned -> ebr::AtomicOwned::into_owned.
ebr::AtomicOwned::try_into_owned
ebr::AtomicOwned::into_owned
ebr::Barrier -> ebr::Guard.
ebr::Barrier
ebr::Guard
ebr::Owned::get_ref_with -> ebr::Owned::get_guarded_ref.
ebr::Owned::get_ref_with
ebr::Owned::get_guarded_ref
ebr::Owned::ptr -> ebr::Owned::get_guarded_ptr.
ebr::Owned::ptr
ebr::Owned::get_guarded_ptr
ebr::Ptr::as_raw -> ebr::Ptr::as_ptr.
ebr::Ptr::as_raw
ebr::Ptr::as_ptr
ebr::Ptr::get_arc -> ebr::Ptr::get_shared.
ebr::Ptr::get_arc
ebr::Ptr::get_shared
*::first_occupied_entry* -> *::first_entry*.
*::first_occupied_entry*
*::first_entry*
HashIndex::read -> HashIndex::peek_with.
HashIndex::read
HashIndex::peek_with
HashIndex::read_with -> HashIndex::peek.
HashIndex::read_with
HashIndex::peek
Queue::peek -> Queue::peek_with.
Queue::peek
Queue::peek_with
Queue::peek_with -> Queue::peek.
Stack::peek -> Stack::peek_with.
Stack::peek
Stack::peek_with
Stack::peek_with -> Stack::peek.
TreeIndex::read -> TreeIndex::peek_with.
TreeIndex::read
TreeIndex::peek_with
TreeIndex::read_with -> TreeIndex::peek.
TreeIndex::read_with
TreeIndex::peek
Remove HashMap::upsert*: superseded by hash_map::Entry::and_modify and hash_map::Entry::or_insert*.
HashMap::upsert*
hash_map::Entry::and_modify
hash_map::Entry::or_insert*
use scc::HashMap; let hashmap: HashMap<u64, u32> = HashMap::default(); // hashmap.upsert(1, || 2, |_, v| *v = 3); hashmap.entry(1).and_modify(|v| { *v = 3 }).or_insert(2);
HashIndex::modify*
HashIndex::update*
HashIndex::entry*
HashIndex::get*
use scc::HashIndex; let hashindex: HashIndex<u64, u32> = HashIndex::default(); assert!(hashindex.insert(1, 1).is_ok()); // hashindex.modify(&1, |_, v| Some(Some(2))); if let Some(mut o) = hashindex.get(&1) { o.update(2); } // unsafe { hashindex.update(&1, |_, v| { *v = 3; true } ); } if let Some(mut o) = hashindex.get(&1) { unsafe { *o.get_mut() = 3; } }
Hash*::for_each*
HashMap::retain*
use scc::HashMap; let hashmap: HashMap<u64, u32> = HashMap::default(); assert!(hashmap.insert(1, 1).is_ok()); // hashmap.for_each(|_, v| { *v = 2; }); hashmap.retain(|_, v| { *v = 2; true });
Hash*::clear*
Hash*::prune*
Hash*::retain*
()
The text was updated successfully, but these errors were encountered:
chore(#108): refactor OccupiedEntry::{next, next_async}
OccupiedEntry::{next, next_async}
421e0b3
feat(#108): implement HashIndex::entry
HashIndex::entry
6fbb01e
feat(#108): bump SCC to 2.0.0 (#111)
efb363d
feat(#108): remove HashMap::upsert*
d7e3ac4
feat(#108): more API update
7da8fd9
feat(#108): more API updates
7616134
feat(#108): finalize 2.0.0 API
b6ba1a5
No branches or pull requests
API update.
*::Visitor
->*::Iter
.*::Accessor
->*::IterMut
.ebr::Arc
->ebr::Shared
.ebr::Arc::get_ref_with
->ebr::Shared::get_guarded_ref
.ebr::Arc::ptr
->ebr::Shared::get_guarded_ptr
.ebr::Arc::release_drop_in_place
->ebr::Shared::drop_in_place
.ebr::AtomicArc
->ebr::AtomicShared
.ebr::AtomicArc::get_arc
->ebr::AtomicShared::get_shared
.ebr::AtomicArc::try_into_arc
->ebr::AtomicShared::into_shared
.ebr::AtomicOwned::try_into_owned
->ebr::AtomicOwned::into_owned
.ebr::Barrier
->ebr::Guard
.ebr::Owned::get_ref_with
->ebr::Owned::get_guarded_ref
.ebr::Owned::ptr
->ebr::Owned::get_guarded_ptr
.ebr::Ptr::as_raw
->ebr::Ptr::as_ptr
.ebr::Ptr::get_arc
->ebr::Ptr::get_shared
.*::first_occupied_entry*
->*::first_entry*
.HashIndex::read
->HashIndex::peek_with
.HashIndex::read_with
->HashIndex::peek
.Queue::peek
->Queue::peek_with
.Queue::peek_with
->Queue::peek
.Stack::peek
->Stack::peek_with
.Stack::peek_with
->Stack::peek
.TreeIndex::read
->TreeIndex::peek_with
.TreeIndex::read_with
->TreeIndex::peek
.Remove
HashMap::upsert*
: superseded byhash_map::Entry::and_modify
andhash_map::Entry::or_insert*
.HashIndex::modify*
andHashIndex::update*
: superseded byHashIndex::entry*
,HashIndex::get*
.Hash*::for_each*
: superseded byHashMap::retain*
.Hash*::clear*
,Hash*::prune*
, andHash*::retain*
return()
.The text was updated successfully, but these errors were encountered: