Skip to content
Snippets Groups Projects
Commit 2e5be2a7 authored by Guillaume Bouchard's avatar Guillaume Bouchard
Browse files

StringSink pre allocate

When used with `readFile`, we have a pretty good heuristic of the file
size, so `reserve` this in the `string`. This will save some allocation
/ copy when the string is growing.
parent 7afcb5af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment