Comments (1)
应该是可以直接把数据放到节点上的。现在是节点上只有数据的id跟用于比较的分值,数据统一放到哈希了。当时直接照搬redis的zset,具体实现也没有考虑哪种方式最适合go。
可以来个benchmark,看看哪种方式更好一些。欢迎PR
from zset.
Related Issues (11)
- 请问, zset 有在线上用吗? HOT 3
- 这个不是线程(协程)安全的,是否考虑在dict和zsl 加个锁? HOT 1
- 是否支持 zrange by score? HOT 1
- 能否改成支持泛型呢? HOT 2
- 可以处理下并列名次吗? HOT 3
- 如何实现多条件排序 HOT 4
- 你好,可否增加increaseby功能 HOT 11
- key是否能够支持string HOT 3
- ZRANGE support HOT 1
- score使用float64精度问题 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zset.