You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The segmentation fault was occurring in our concurrent lock-free hash table implementation moka::cht.
moka::cht is used by sync and future caches.
The same user wanted to reduce external crate dependencies. e.g. Remove crossbeam-epoch crate that is used by moka::cht.
We used dashmap::DashMap as an alternative concurrent hash table. However, implementing get_with method on it would require a non trivial amount of work, so we decided not to do it.
Now Moka v0.9.2 was just released with the fix for issue #34. So if you wanted to use dash::Cache just because to avoid the issue, you no longer have to use it. If so, please use sync::Cache or future::Cache instead.
or am I missing something?
Edit: Noticed there is
get_or_insert_with
The text was updated successfully, but these errors were encountered: