Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #23742; setLen(0) no longer allocates memory for uninitialized …
…strs/seqs for refc (#23745) fixes #23742 Before my PR, `setLen(0)` doesn't free buffer if `s != nil`, but it allocated unnecessary memory for `strs`. This PR rectifies this behavior. `setLen(0)` no longer allocates memory for uninitialized strs/seqs
- Loading branch information