Skip to content
Commit 421359ac authored by Hanyuan Zhao's avatar Hanyuan Zhao Committed by Tom Rini
Browse files

cli: allow users to determine history buffer allocation method



This commit allows users to choose the appropriate memory
allocation method between static allocated and dynamically
calloc. The previous static-array way will not obviously
contribute to the final binary size since it is uninitialized,
and might have better performance than the dynamical one.
Now we provide the users with both the two options.

Signed-off-by: default avatarHanyuan Zhao <hanyuan-z@qq.com>
parent 44951340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment