Making code faster: Going down the I/O chute

added by DotNetKicks
11/16/2016 3:11:52 PM

5 Kicks, 392 Views

The key parts here is that we are allocating a single buffer variable, which will hold the line characters. Then we just wrote our own date and integer parsing routines that are very trivial, specific to our case and most importantly, don't require us to allocate additional strings.