We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当前GetStatistics()时进行了lock,而获取统计信息本质上分成了两部分:
GetStatistics()
这其中的第一部分生成统计信息需要锁,而另外一部分是不需要的,这块也是简化设计导致,将使用上一版本的对象池实现思路进行优化:
LLBC_ObjPoolStatInfo
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当前
GetStatistics()
时进行了lock,而获取统计信息本质上分成了两部分:这其中的第一部分生成统计信息需要锁,而另外一部分是不需要的,这块也是简化设计导致,将使用上一版本的对象池实现思路进行优化:
LLBC_ObjPoolStatInfo
,并于结构中提供Format()方法,让业务灵活调用、组装格式化后的信息GetStatistics()
还是进行锁,不过就变回跟上一版对象池一样:锁的过程中,只进行了统计数据结构的生成,而不会有格式化消耗The text was updated successfully, but these errors were encountered: