golang 语言目前唯一的高性能 goroutine local storage 实现,每秒可以完成数百万次Get/Set。 Operate Performance Benchmark_Goid 5.30 ns/op Benchmark_Set 271 ns/op Benchmark_Get 155 ns/op Benchmark_Set_4Threads 129 ns/op Benchmark_Get_4Threads 58.6 ns/op 使用起来极为简单: import "github.c...