xjdrew

Results 18 comments of xjdrew
trafficstars

It seems OpError.Timeout is different between 1.4.2 and 1.5: https://golang.org/src/net/net.go?s=13480:13512#L425 https://github.com/golang/go/blob/release-branch.go1.4/src/net/net.go#L337-L340 I have no idea how to keep code simple and compatible with 1.4.2 in this point. Anyone has a...

good idea, Let's do it!

把snapshot_utils提交给https://github.com/cloudwu/lua-snapshot ,实现代码没必要放在skynet里面。然后skynet以3rd的方式引用这个库。简单加个gm指令启用就好了。 @cloudwu

应该是支持python2的,我没有碰到这个错误;如果知道原因了,可以提个PR;

底层是跳表,排序是在c层实现的,如果通过回调函数支持自定义排序,性能会降低比较多; 这个数据结构本身不是那么通用的,适合用来做排行榜之类,有score的场景。

​​What version of Go are you running?​