Top 0.7% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 3.9% forks on proxy.golang.org
Top 1.3% docker downloads on proxy.golang.org
proxy.golang.org : github.com/wangjia184/sortedset
Package sortedset provides the data-struct allows fast access the element in set by key or by score(order). It is inspired by Sorted Set from Redis. Every node in the set is associated with these properties. Each node in the set is associated with a key. While keys are unique, scores may be repeated. Nodes are taken in order (from low score to high score) instead of ordered afterwards. If scores are the same, the node is ordered by its key in lexicographic order. Each node in the set also can be accessed by rank, which represents the position in the sorted set. Sorted Set is implemented basing on skip list and hash map internally. With sorted sets you can add, remove, or update nodes in a very fast way (in a time proportional to the logarithm of the number of nodes). You can also get ranges by score or by rank (position) in a very fast way. Accessing the middle of a sorted set is also very fast, so you can use Sorted Sets as a smart list of non repeating nodes where you can quickly access everything you need: nodes in order, fast existence test, fast access to nodes in the middle! A typical use case of sorted set is a leader board in a massive online game, where every time a new score is submitted you update it using AddOrUpdate() method. You can easily take the top users using GetByRankRange() method, you can also, given an user id, return its rank in the listing using FindRank() method. Using FindRank() and GetByRankRange() together you can show users with a score similar to a given user. All very quickly. Examples
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/wangjia184/sortedset
License: BSD-2-Clause
Latest release: about 3 years ago
First release: almost 9 years ago
Namespace: github.com/wangjia184
Dependent packages: 35
Dependent repositories: 1,021
Stars: 130 on GitHub
Forks: 36 on GitHub
Docker dependents: 9
Docker downloads: 1,001
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago
github.com/stackup-wallet/stackup-bundler v0.6.47
A modular Go implementation of an ERC-4337 Bundler.93 versions - Latest release: about 1 year ago - 1 dependent repositories - 67 stars on GitHub
github.com/flet-dev/flet/server v0.0.0-20240120205309-3850d1eea52b
Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No front...46 versions - Latest release: over 1 year ago - 4,740 stars on GitHub
github.com/minoritea/history-watcher v0.0.0-20231107070049-44669572d6ce
history-watcher Copyright (C) 2018 Minori Tokuda This program is free software: you can redistri...5 versions - Latest release: over 1 year ago - 0 stars on GitHub
gitlab.com/alphaticks/tickstore-types v0.0.0-20231002105328-eb50d09adf3a
3 versions - Latest release: over 1 year ago - 2 dependent packages - 2 dependent repositories - 0 stars on GitLab.comgitlab.com/alphaticks/tickstore-go-client v0.0.0-20230926101519-e08f27bf727b
5 versions - Latest release: over 1 year ago - 1 dependent package - 1 dependent repositories - 0 stars on GitLab.comgithub.com/sushant8421/go-basics v0.0.0-20230910071524-c94e78181a26
1 version - Latest release: over 1 year ago - 0 stars on GitHubgitlab.com/alphaticks/alpha-data-go v0.0.0-20230829112141-f025d6d41dd4
4 versions - Latest release: over 1 year ago - 0 stars on GitLab.comgithub.com/torikki-tou/ReScheduler v0.0.0-20230613204738-24b4bd9dce25
1 version - Latest release: almost 2 years ago - 0 stars on GitHubgithub.com/cicadatesting/cicada-go v0.2.0
Cicada load testing go library repo2 versions - Latest release: about 2 years ago - 2 stars on GitHub
github.com/ajhodges/stackup-bundler v0.0.0-20230128041721-60869cbd679e removed
A modular Go implementation of an ERC-4337 Bundler.1 version - Latest release: over 2 years ago - 0 stars on GitHub
gitlab.33.cn/link33/sidecar v0.0.0-20220707113014-f069fcfd7f7c
1 version - Latest release: almost 3 years ago - 1 dependent packagegithub.com/pglet/pglet v0.7.0
Pglet - build internal web apps quickly in the language you already know!36 versions - Latest release: about 3 years ago - 581 stars on GitHub
github.com/open-blockchain-explorer/tnbassist v0.0.3-alpha
3 versions - Latest release: about 3 years ago - 1 stars on GitHubgithub.com/3100/go-sdk v1.2.8
19 versions - Latest release: over 3 years agogithub.com/datachainlab/go-sdk v1.2.8
Go-SDK & CLI tool to interact with the Harmony Blockchain19 versions - Latest release: over 3 years ago - 1 dependent repositories - 0 stars on GitHub
github.com/my0k/go-competitive v0.0.0-20210715081545-23e9799f0a15
1 version - Latest release: almost 4 years agogithub.com/costinm/wpgate/ipfs v0.0.0-20210313220308-109c5d9274e9
Experiments, tests, demos and notes on webpush.1 version - Latest release: about 4 years ago - 0 stars on GitHub
github.com/haozzzzzzzz/go-rapid-development v0.1.97
go rapid development library78 versions - Latest release: about 4 years ago - 2 dependent packages - 1 dependent repositories - 4 stars on GitHub
github.com/sdslabs/kiwi v1.1.0
Package kiwi implements a minimalistic in-memory key value store. Each key is thread safe as it ...2 versions - Latest release: over 4 years ago - 4 dependent packages - 1 dependent repositories - 158 stars on GitHub
github.com/jimpick/go-libp2p-daemon v0.3.0
a libp2p-backed daemon wrapping the functionalities of go-libp2p for use in other languages13 versions - Latest release: over 4 years ago - 0 stars on GitHub
github.com/DieMyst/go-libp2p-kbucket v0.3.1 removed
9 versions - Latest release: about 5 years agogithub.com/diemyst/go-libp2p-kbucket v0.3.1
package kbucket implements a kademlia 'k-bucket' routing table.9 versions - Latest release: about 5 years ago - 0 stars on GitHub
github.com/getumen/arachne v0.0.0-20190717033642-145bc51d813a
Package arachne is a generated GoMock package. Package arachne is a generated GoMock package. P...1 version - Latest release: almost 6 years ago - 1 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.