
Wouldn't that give less representative performance results?
I guess it depends what you're trying to represent when measuring the performance. If you're trying to represent the [totally contrived] case of parsing short segments of text that all fit in cache surely it's better?
I was presuming to suggest that the more representative test was that of parsing across the spectrum of possible inputs such code likely will parse in a real finance program
Benford's law it is then... ;-)
rather than contriving small tests to focus on isolated characteristics.
Sure.
I was afraid that the test code might be permanently altered and lose sight of what I think is a fairly representative set of test inputs.
No - no not at all... I fully understand your concern -- I'm just being curious! -ed