Aye, there's the trouble with starting with a quick and dirty design then accreting bits on to it. :(
The validation step is important as a check that the tested code is behaving as advertised, but can introduce extra benchmarked code that is unrelated to the code being tested. If I get time I'll revisit the code and fix it, but it may take a while before I get to it.
In reply to Re^3: More efficient way to truncate long strings of the same character
by GrandFather
in thread More efficient way to truncate long strings of the same character
by kurtis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |