tryObjectEncoding(): optimize sds strings if possible.
When no encoding is possible, at least try to reallocate the sds string with one that does not waste memory (with free space at the end of the buffer) when the string is large enough.
Please register or sign in to comment