-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat<memory: priority> add method IncrByFloat, Delete (#28)
* feat<memory: priority> (add method IncrByFloat, Delete, UpdatePriority) 新增rbtree_priority_cache实现Cache的两个方法IncrByFloat, Delete和一个修改优先级的方法UpdatePriority * refector<priority> 抽取通用方法findOrCreateNode * feat<priority> 删除updatePriority方法 * fix<priority> 修复单测 * feat<priority> 优化findOrCreate函数入参,延迟初始化节点零值
- Loading branch information
Showing
3 changed files
with
351 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.