You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
762af9dda2
This commit optimize AtomicError using atomic.Value. Benchmarks: name old time/op new time/op delta AtomicError/Load-6 305ns ±11% 12ns ± 6% -96.18% (p=0.000 n=10+10) AtomicError/Set-6 314ns ±16% 14ns ± 2% -95.61% (p=0.000 n=10+9) |
4 years ago | |
---|---|---|
.. | ||
atomicerror.go | 4 years ago | |
atomicerror_test.go | 4 years ago | |
batcherror.go | 4 years ago | |
batcherror_test.go | 4 years ago |