gox

module
v0.0.0-...-29d029c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: BSD-3-Clause

README

gox

Go Reference

Go语言(非官方)基础库。
lockfree数据结构,已经迁往:freesync

目录

结构体或方法作用说明
xcontainerListMap同时具备List和Map的特性的容器
xsync
(已经迁移到freesync)
Slice并发安全的Slice结构与官方slice+mutex相比,写性能提升一半,读性能提升百倍左右
Bag并发安全的容器与sync.Map相比,写性能提升一半左右
xsyncLRUMap并发安全的LRU结构与GroupCache的LRU相比,写性能相当,读性能提升近百倍
xsync/sentinelSentinelGroup哨兵机制同singleflight,但支持批量处理
asyncSeries
Parallel
Graceful
协程和异步任务的辅助方法

Directories

Path Synopsis
internal/golang-lru/simplelru
Package simplelru provides simple LRU implementation based on build-in container/list.
Package simplelru provides simple LRU implementation based on build-in container/list.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL