sdscatvprintf(): Try to use a static buffer.
For small content the function now tries to use a static buffer to avoid a malloc/free cycle that is too costly when the function is used in the context of performance critical code path such as INFO output generation. This change was verified to have positive effects in the execution speed of the INFO command.
Showing
想要评论请 注册 或 登录