Skip to content
Prev 40950 / 63424 Next

slightly speeding up readChar()

On 4 Aug 2011, at 11:50PM, Simon Urbanek wrote:

            
No it isn't worth it, you're right. Though 100MB is much smaller than my average file size. But you're right, readChar is quite efficient.
You're right. Then the harder changes aren't worth it, unless you manage to save on one of the allocations.
But here I don't agree. memset and strlen can be dropped.
Right again. I shouldn't really have bothered... but I did.

Michael