Commit Graph

5 Commits (bbb9126302f56c06801838b90df1cff8ca2958de)

Author SHA1 Message Date
Kevin Wan 7472d1e70b
fix golint issues in core/errorx (#480) 4 years ago
Kevin Wan 54414db91d
fix golint issues, exported doc (#451) 4 years ago
kevin dfe6e88529 use goctl template to generate all kinds of templates 4 years ago
Changkun Ou 762af9dda2
optimize AtomicError (#82)
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
kevin 7e3a369a8f initial import 4 years ago