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
I'm not entirely certain we should change the interface here. The boolean return seems poorly self-documenting in particular. A simple solution at the call-site is to keep track of this yourself:
Hi,
Currently, I'm developing the concurrent version of swiss-map https://github.com/mhmtszr/concurrent-swiss-map
While implementing Range functions https://github.com/mhmtszr/concurrent-swiss-map/blob/master/concurrent_swiss_map.go#L119 I couldn't stop the other shard because I didn't know the result of the callback functions thus I couldn't stop other shard iterations.
If the Iter function returns a boolean would be great for here what do you think?
Also, I'm open to your feedback about my concurrent-swiss-map implementation too.
The text was updated successfully, but these errors were encountered: