Re: [go-nuts] Re: Go concurrency performance

2018-09-06 Thread robert engels
Sorry for the confusion, I am working on an alternate sync.Map implementation and that code was checkin inadvertently… Nothing to see here folks :) It has been removed from master > On Sep 6, 2018, at 10:27 AM, ffm2...@web.de wrote: > > It seems that in your Put function you are creating a new

[go-nuts] Re: Go concurrency performance

2018-09-06 Thread ffm2002
It seems that in your Put function you are creating a new hashTable for every single put with the values from the existing hashTable being moved over to the new hashTable. Why are doing that? Just add the new value for the given key to the hashTable for the segment obtained by key.Hash() % 16 a