Releases: fufuok/utils
Releases · fufuok/utils
v0.9.1.221111
🎉 Utilities for go (常用的助手函数, 性能至上)
v0.9.1
2022-11-11
- 调整
sched
支持多参数方法
v0.9.0
2022-11-09
- 增加带超时时间的互斥锁:
utils.NewTryMutex()
- 调整
Hash
函数到子目录:xhash
- 优化测试助手函数
- 同步
xsync v2.4.0
, 增加 Map 初始容量参数
v0.8.2.221031
🎉 Utilities for go (常用的助手函数) 性能至上
xsync.Map
xsync.MapOf
xsync.Counter
重构优化- 支持可比较类型的泛型键
- 增加
m.Clear
m.Computer
m.LoadOrCompute
- 增加通用的初始化方法
NewHashMapOf[K comparable, V any](hasher ...func(maphash.Seed, K) uint64) HashMapOf[K, V]
- 增加
FastRand64
FastRandu
- 增加基于
xxHash
的 Hash 算法生成器GenHasher64[K comparable]() func(K) uint64
GenSeedHasher64[K comparable]() func(maphash.Seed, K) uint64
- 增加测试助手函数
AssertNotEqual
AssertNotEqualf
- 增加
SafeGo
Recover
WaitSignal
及 IP 相关助手函数
v0.7.15.20221001
🎉 Utilities for go (常用的助手函数) 性能至上
v0.7.11.220803
🎉 Utilities for go (常用的助手函数) 性能至上
v0.7.1.20220616 generic
🎉 Utilities for go (常用的助手函数) 性能至上
v0.7.0.220613 generic
🎉 Utilities for go (常用的助手函数) 性能至上
v0.3.14.20220128
🎉 Utilities for go (常用的助手函数) 性能至上
v0.3.10.22010709
🎉 Utilities for go (常用的助手函数) 性能至上
v0.3.3.21102010
fastrandom