NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #3158 by repository stars
Latest stable
v0.1.4
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.8 years
Some releases are documented
notes for 4 of 16 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
36 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
修改时间轮时间种子的初始化位置。 具体原因 #18
修改时间轮时间种子的初始化位置。
具体原因 #18
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
修复:选用minheap时,第一次时间不准的问题。
修复:选用minheap时,第一次时间不准的问题。
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="type curstomTest struct {
自定义周期性定时器
实现时间翻倍定时的例子
type curstomTest struct {
count int
}
// 只要实现Next接口就行
func (c *curstomTest) Next(now time.Time) (rv time.Time) {
rv = now.Add(time.Duration(c.count) * time.Millisecond * 10)
c.count++
return
}
func main() {
tm := timer.NewTimer(timer.WithMinHeap())
node := tm.CustomFunc(&curstomTest{count: 1}, func() {
log.Printf("%v\n", time.Now())
})
tm.Run()
}Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
状态;可用,并且比常见的时间轮实现都快 下个版本:性能优化优化再优化
状态;可用,并且比常见的时间轮实现都快 下个版本:性能优化优化再优化
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.