Setting CDB_PALLOC_TAGS only when USE_ASSERT_CHECKING is defined and removing unused code. (#2924)
We set CDB_PALLOC_TAGS regardless of USE_ASSERT_CHECKING on 81627e27. This bloated chunk header in release build, resulting in significantly more memory consumption in certain cases. In this PR we are restoring the original behavior by setting CDB_PALLOC_TAGS only when USE_ASSERT_CHECKING is set. We are also removing unused code. Signed-off-by: NFoyzur Rahman <foyzur@gmail.com>
Showing
想要评论请 注册 或 登录