Skip to content
  • Hanyuan Zhao's avatar
    cli: allow users to determine history buffer allocation method · 421359ac
    Hanyuan Zhao authored and Tom Rini's avatar Tom Rini committed
    
    
    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>
    421359ac