• antirez's avatar
    CLIENT LIST speedup via peerid caching + smart allocation. · a11ae385
    antirez authored
    This commit adds peer ID caching in the client structure plus an API
    change and the use of sdsMakeRoomFor() in order to improve the
    reallocation pattern to generate the CLIENT LIST output.
    
    Both the changes account for a very significant speedup.
    a11ae385
replication.c 71.2 KB