Closed marcospb19 closed 3 months ago
What about performance?
I suspect that this change may change it, but not sure if this will be faster or slower than current version
These should probably take, like, 200 nanoseconds, loading the file itself (either from disk or network) will definitely be the bottleneck (by a large magnitude).
I started doing this and gave up mid-way, there's simply too many of them.
Another suggestion, instead of
You can do this
It's the same thing.
Feel free to close the PR if you want, it's not like this really matters, you might prefer the buf[i] = x, buf[i + 1] = y, buf[i + 2] = z thing.