Closed glycerine closed 5 years ago
Add sync.Lock() and Unlock() around reads and writes to the CatMap. Also add full copying that may reduce contention.
Fixes #20
Ugh. Sorry, got too many things in this PR. I'll try to cut it down.
going to close this and start over on a fresh fork to isolate it. I'll re-open anew.
Add sync.Lock() and Unlock() around reads and writes to the CatMap. Also add full copying that may reduce contention.
Fixes #20