Skip to content

Releases: fufuok/utils

v1.0.9.240321

26 Mar 14:06
Compare
Choose a tag to compare

🎉 Utilities for go (常用的助手函数, 性能至上)

v1.0.3.240218

18 Feb 02:12
Compare
Choose a tag to compare

🎉 Utilities for go (常用的助手函数, 性能至上)

v1.0.0.240115

15 Jan 06:27
Compare
Choose a tag to compare

🎉 Utilities for go (常用的助手函数, 性能至上)

v0.11.1.230927

27 Sep 02:54
Compare
Choose a tag to compare

🎉 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

20 Mar 03:03
Compare
Choose a tag to compare

🎉 Utilities for go (常用的助手函数, 性能至上)

v0.10.0

2023-03-20

  • 去除一些不常用/不够完善/更新会比较频繁的类库

v0.9.1.221111

13 Nov 10:44
Compare
Choose a tag to compare

🎉 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

31 Oct 00:41
Compare
Choose a tag to compare

🎉 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

04 Oct 02:55
Compare
Choose a tag to compare

🎉 Utilities for go (常用的助手函数) 性能至上

v0.7.11.220803

03 Aug 01:00
Compare
Choose a tag to compare

🎉 Utilities for go (常用的助手函数) 性能至上

v0.7.1.20220616 generic

17 Jun 00:37
Compare
Choose a tag to compare

🎉 Utilities for go (常用的助手函数) 性能至上