Yonder Blue
Yonder Blue
In cases where you might have a GetThing() that concurrently does: ``` Check cache for k If hit, return the val If miss, do expensive work set in cache return...
There is the //revive:disable:blah and then //revive:enable:blah but being able to put the disable on a block like a func similar to how nolint is supported would be peachy.
It would be great to show https://github.com/felixge/fgprof in a new type of profile in the profiles section of the UI. Despite https://github.com/golang/go/issues/41324#issuecomment-703796820 response from the Go team, I still find...
When using for example the Block profile (but others too), there are often times when things sit blocked for lots of time not doing anything, or very little. That tends...
Profile shows at line 141 and 142: https://github.com/VividCortex/gohistogram/blob/51564d9861991fb0ad0f531c99ef602d0f9866e6/numerichistogram.go#L141 Probably some reuse possible?
``` func TestX(t *testing.T) { cache := New(1) cache.Get("1") cache.Set("1", "1") cache.Get("1") cache.Get("2") cache.Set("2", "2") } ``` results in stack overflow. I'm assuming something around initialization as I haven't run...
Instructions here https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide