Geethapranay1 commented on PR #3580:
URL: https://github.com/apache/fory/pull/3580#issuecomment-4276229432

   that's exactly what this pr is prepare_write reserves the capacity once, and 
finish_write updates the Vec length at the end.
   
   I re-ran the benches with my CPU strictly pinned, and while single Struct 
only showed a small change, i get a solid 7.3% speedup on StructList 
serialization (164ns -> 152ns).


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to