concurrent-map icon indicating copy to clipboard operation
concurrent-map copied to clipboard

a thread-safe concurrent map for go

Results 41 concurrent-map issues
Sort by recently updated
recently updated
newest added

the old: BenchmarkCount BenchmarkCount-8 2150287 514.2 ns/op the new: BenchmarkCount BenchmarkCount-8 393898780 2.755 ns/op And otherwise ,the insert from the new BenchmarkItems-8 278 4242234 ns/op the old BenchmarkItems-8 258 4090206...

the performance of count is not very good,can use record it instead of calc it?

runWithShards parameter error, 'benchmarkMultiGetSetDifferent' should be adjusted to 'benchmarkMultiInsertDifferent' fix:https://github.com/orcaman/concurrent-map/issues/140

runWithShards parameter error, 'benchmarkMultiGetSetDifferent' should be adjusted to 'benchmarkMultiInsertDifferent'

Otherwise `cmap` is undefined.

there is a keys() function to convert cmap to keys array,but there is no Vals() to convert cmap to vals array.so iadvised to add Vals() functon.thank you anyway

#136 Hello, what I mentioned in the above issue page, I suggest to use custom shard count for each concurrent map instance. I would ask you please review this change...

Hello, `concurrent-map` maintainers :) I accidentally found this `concurrent-map` repository, which looks very cool! Me and one of my team members suggested how to use custom `SHARD_COUNT` for each concurrent...

The update method allows atomically mutating a value in the map. If the key does not exist, the zero value for the value type is mutated and saved. Fixes #133