* Reduce few GBs mem by avoiding another overalloc.
* Use x.len() for the last item from chunks()
(cherry picked from commit 015058e0b7
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
* Reduce few GBs mem by avoiding another overalloc.
* Use x.len() for the last item from chunks()
(cherry picked from commit 015058e0b7
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>