in reply to Re^6: substr question
in thread substr question
'Your code is so complex it would take quite some time for me to understand it '
Certainly it depends on what a person is used to. Let's agree we approach things differently at this point.
Note that I *am* concerned about generating code that is opaque to others, and am taking your comment seriously.
The interesting bit is your benchmark results.... I went back to look at the benchmark I ran last night.
Oops.
Typo.
I stand corrected, my code is slower.
I'd set up a test string that was less than 100 characters. So the extra ops were not even looked at and once that was corrected, my code was approximately 3 times slower. Darn.
I do thank you for the time you've spent on me. While you might think it wasted, I certainly do not.
\s
|
|---|