• antirez's avatar
    sdscatvprintf(): Try to use a static buffer. · 72257f4b
    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.
    72257f4b
sds.c 28.2 KB