gcrate

module
v0.0.0-...-33e4414 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT

README

GCrate

GCrate is a practical Golang toolkit that includes implementations based on efficiency optimization strategies, relevant data structures, and adds support for generics.

Implementations:

TimingWheel

Efficient delayed task scheduler for reducing frequent addition/removal of timers.

  • [tickwheel]
  • [delayedwheel]
ShardMap

Avoid panics caused by concurrent read/write operations on maps while minimizing locking granularity to mitigate efficiency losses.

  • [shardmap]
DataStructure
  • [list]

    • GenericList
    • SyncList
  • [pqueue]

    • ProiorityQueue
    • DelayQueue

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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