diff options
author | lukechampine <luke.champine@gmail.com> | 2016-03-30 18:33:10 -0400 |
---|---|---|
committer | lukechampine <luke.champine@gmail.com> | 2016-03-30 18:33:10 -0400 |
commit | 04af6bdd6eb300307f238bb41130a7b48fc3e24f (patch) | |
tree | 0e8c5f56f2fd0d7b9cc4a375930acfd79b8d73fb /example_santa_test.go | |
parent | add basic tests and benchmarks (diff) | |
download | stm-04af6bdd6eb300307f238bb41130a7b48fc3e24f.tar.gz stm-04af6bdd6eb300307f238bb41130a7b48fc3e24f.tar.xz |
use atomic.Value for Vars
this gives a large performance boost, since we no longer need to
hold the globalLock when loading Vars in tx.Get
Diffstat (limited to 'example_santa_test.go')
0 files changed, 0 insertions, 0 deletions