Re: setLen without 0-initialization (for efficiency)
+1 on the feature. I also sometimes re-use buffers that would benefit from this.
Re: setLen without 0-initialization (for efficiency)
PR's accepted?
Re: setLen without 0-initialization (for efficiency)
It is not possible.
Re: setLen without 0-initialization (for efficiency)
If the new length doesn't grow past the current capacity it doesn't 0-init. No way otherwise AFAIK.
setLen without 0-initialization (for efficiency)
Is it currently possible to call seq setLen without 0-initialization (for efficiency)? newSeqOfCap is not applicable since I want to reuse a buffer if not, should we add an overload for setLen?