Releases: fufuok/utils
Releases · fufuok/utils
v1.2.5.240820
v1.1.1.240603
🎉 Utilities for go (常用的助手函数, 性能至上)
v1.0.9.240321
🎉 Utilities for go (常用的助手函数, 性能至上)
v1.0.3.240218
🎉 Utilities for go (常用的助手函数, 性能至上)
v1.0.0.240115
🎉 Utilities for go (常用的助手函数, 性能至上)
v0.11.1.230927
🎉 Utilities for go (常用的助手函数, 性能至上)
v0.11.1
2023-09-27
- 同步
puzpuzpuz/xsync v2.5.1
, 添加支持泛型的并发队列(MPMCQueueOf), 优化 Hash 速度 - 添加
DaysInMonth
v0.11.0
2023-08-11
- 移除
slices
,maps
,constraints
包, 增加xslices
扩展包 - 使用
smallnest/deepcopy
- 更新
xid
v0.10.0.230220 Clean-up
🎉 Utilities for go (常用的助手函数, 性能至上)
v0.10.0
2023-03-20
- 去除一些不常用/不够完善/更新会比较频繁的类库
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 (常用的助手函数) 性能至上