forked from valkey-io/valkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hashtable: Optimize replace large strings
Keep the old object in the database and just update its pointer to the new string. Store the old ptr in the val to be freed. Signed-off-by: Viktor Söderqvist <[email protected]>
- Loading branch information
1 parent
1d12d0e
commit 493482c
Showing
1 changed file
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters