Fixing performance regression. Due to the way the hashes work, we must 0 out the whole thing.
This commit is contained in:
parent
3d40725b8f
commit
af76f544be
|
@ -95,7 +95,7 @@ static Command* push_command(int type, int size) {
|
|||
return NULL;
|
||||
}
|
||||
command_buf_idx = n;
|
||||
memset(cmd, 0, COMMAND_BARE_SIZE);
|
||||
memset(cmd, 0, size);
|
||||
cmd->type = type;
|
||||
cmd->size = size;
|
||||
return cmd;
|
||||
|
|
Loading…
Reference in New Issue