• yoav-steinberg's avatar
    Avoid argv memcpy when queuing a multi command. (#9602) · 5725088f
    yoav-steinberg authored
    When queuing a multi command we duplicated the argv (meaning an alloc
    and a memcpy). This isn't needed since we can use the previously allocated
    argv and just reset the client objects argv to NULL. This should saves some
    memory and is a minor optimization in heavy MULTI/EXEC traffic, especially
    if there are lots of arguments.
    5725088f
server.h 137 KB