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
Hello, I am trying to find out the most performant hashmap for my project and I came across yours. I have a small question. I find two functions, one is find_fn and the other is update_fn. I believe the designers want only update_fn to have a function able to modify the entry's contents. However, I'm wondering if my entry stores std::atomic objects. Are updates to those entries allowed in find_fn? Because I feel it will be more performant. �Thanks.
The text was updated successfully, but these errors were encountered:
Hi @Jiboxiake. find_fn and update_fn are essentially the same thing, except that find_fn is a const method, so only it can be invoked on a const hashtable. Performance-wise, they should be equivalent.
Hello, I am trying to find out the most performant hashmap for my project and I came across yours. I have a small question. I find two functions, one is find_fn and the other is update_fn. I believe the designers want only update_fn to have a function able to modify the entry's contents. However, I'm wondering if my entry stores std::atomic objects. Are updates to those entries allowed in find_fn? Because I feel it will be more performant. �Thanks.
The text was updated successfully, but these errors were encountered: