• antirez's avatar
    sdscatvprintf(): Try to use a static buffer. · 30639c8c
    antirez authored
    For small content the function now tries to use a static buffer to avoid
    a malloc/free cycle that is too costly when the function is used in the
    context of performance critical code path such as INFO output generation.
    
    This change was verified to have positive effects in the execution speed
    of the INFO command.
    30639c8c
sds.c 28.2 KB