Skip to content

Commit

Permalink
[NSE-170] using unsafe appender (oap-project#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 <[email protected]>

* fix format

Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan committed Mar 29, 2021
1 parent 82f284b commit 5d16f35
Show file tree
Hide file tree
Showing 2 changed files with 422 additions and 1 deletion.
Loading

0 comments on commit 5d16f35

Please sign in to comment.