in reply to Re^3: Speeds vs functionality
in thread Speeds vs functionality

For speed it is just one single loop.

My point was that by duplicating that loop you can have the single byte case in one, and the multibyte case in the other and decide which loop to enter, thus neither case carries the burden of the repeated, single/multi bytes tests within the loop, and both cases benefit.

The inline functions (my preference) or multiline macros (yours?) discussion was simply a way to mitigate some or all of the copy&paste code duplication.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.