Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
[NSE-170] using unsafe appender (#203)
Browse files Browse the repository at this point in the history
This patch adds an unsafe appender which will reserve space before builder array.
The boolean builder is not touched as only malloc small sized memory
The string builder are not touched as it's diffcult to pre-allocate the space

* using unsafe appender

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>

* fix format

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
  • Loading branch information
zhouyuan authored Mar 29, 2021
1 parent 1f103e9 commit 5ae8918
Show file tree
Hide file tree
Showing 2 changed files with 422 additions and 1 deletion.
Loading

0 comments on commit 5ae8918

Please sign in to comment.