-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pool: ArenaPool 基于实验特性 arena 的对象池 #160
Conversation
jason12360
commented
Mar 4, 2023
- GET,PUT,FREE
- 暂时不支持并发
- GET,PUT,FREE - 暂时不支持并发
Signed-off-by: Jin Zhang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把它做成线程安全的,然后后面我们考虑替换成在 list 里面实现的无锁的 list 来放所有的元素
后续要考虑:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你是忘记推代码了?
Codecov Report
@@ Coverage Diff @@
## dev #160 +/- ##
==========================================
+ Coverage 95.74% 96.00% +0.26%
==========================================
Files 41 41
Lines 2280 2280
==========================================
+ Hits 2183 2189 +6
+ Misses 77 73 -4
+ Partials 20 18 -2 see 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 在 .Changelog 里面加一条,把这个合并请求加进去
- 执行一下 make check,主要就是要格式化一下代码
- 执行一下 make check,主要就是要格式化一下代码