EdwardShen125 commented on PR #1671: URL: https://github.com/apache/arrow-go/pull/1671#issuecomment-7162405283
Pushed `a112bd0b`. The reservation is now a hint: `dataReservation` counts what's written and doubles it when a value would outgrow the hint. `string_view` can't grow (one data buffer per result), so there the hint counts inline values too and an output past it is an error. Didn't use `Append`: `Append(string(scratch))` allocates per value, +160-190% on the write path. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
