Should not the compiler do it for you?
You basically wrote the code for parsing CSV with fixed types.
All allocation patterns were straightforward, so compiler should in theory make a reusable buffers, and do away with most allocations.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Should not the compiler do it for you?
You basically wrote the code for parsing CSV with fixed types.
All allocation patterns were straightforward, so compiler should in theory make a reusable buffers, and do away with most allocations.