haxmap icon indicating copy to clipboard operation
haxmap copied to clipboard

Fastest and most memory efficient golang concurrent hashmap

Results 11 haxmap issues
Sort by recently updated
recently updated
newest added

Hi it's a great project but miss [LoadOrStore](https://pkg.go.dev/sync#Map.LoadOrStore) func. Can just Get first then set?

https://github.com/zeebo/xxh3 // your custom hash function func customStringHasher(s string) uintptr { return uintptr(xxh3.HashString(s)) }

fantastic library , can you add a drop all/clear method. Say after n period of time, I want to clear out everything but not resize down .

Hi, I saw that the sorted linked list is based on Harris's linked list, but according to my understanding, it's not correctly written. Harris's linked list is based on 2...

Hi, i was trying to benchmark haxmap vs map, https://github.com/kokizzu/kokizzu-benchmark/blob/master/assoc/go-haxmap/haxmap.go vs https://github.com/kokizzu/kokizzu-benchmark/blob/master/assoc/map.go the diff https://pastebin.com/diff/V3Y04Uha but haxmap took like 51s vs 14s using map ``` time go run go-haxmap/haxmap.go 6009354...

test code: hmap := haxmap.New[int64, interface{}](32) go func() { var idx int64 for i := 1; i

As I understand it golang's preemption model is that a goroutine may be interrupted either at "wait" boundaries (such as locks, sleeps) & when making system calls, or at function...

google "golang concurrent map" or "golang lockfree map" and this project does not come up. I only found it after following various links in issues reported on golang's sync.Map. You...

I test some different map use cases. in every case(read 100%、99%、90%、75%、 50%) [test code](https://github.com/someview/dict/blob/dev/benchmarks/map_test.go) xsync.mapof > concurrent-map(shard rwlock) > haxmap the ConcurrentMap shard map with rwlock: ``` //goos: windows //goarch:...