rope: Preallocate chunks buffer

This commit also specializes 'fn push' for large text quantities. That specialized version uses a Vec instead of SmallVec.
This commit shaves off about ~100ms out of 800ms when loading a 600Mb text buffer.
45c4d35da8Piotr Osiewicz committed on 3/11/2024, 12:28:10 PMparent298314d
1 file changedLine totals unavailable