wvwwvwwv / scalable-concurrent-containers

High performance containers and utilities for concurrent and asynchronous programming
Apache License 2.0
329 stars 16 forks source link

request: TreeIndex::peek_entry #157

Closed qthree closed 2 weeks ago

qthree commented 3 weeks ago

Currently it's impossible to retrieve inserted key from TreeIndex

pub fn peek_entry<'g, Q>(&self, key: &Q, guard: &'g Guard) -> Option<(&'g K, &'g V)>
    where
        K: Borrow<Q>,
        Q: Ord + ?Sized,

should solve this.

changgyoopark-db commented 2 weeks ago

=> SCC 2.1.18