On Feb 14, 2008, at 9:06 AM, William A. Rowe, Jr. wrote:
Eric Covener wrote:
Anyone else +1 for flatten-as-default and providing an option such
as:
'q'uick: Substitute more efficiently, but further substitutions will
not be able match across the boundaries of this substitutions
replacement string.
+1, anything requiring this depth-of-understanding is prone to be a
problem.
The optimization would have to know that the smallest pattern-match
space
is some (x) characters long, and unconditionally do a set-aside of
(x-1)
characters of trailing data from each bucket, to match across calls.
Flatten is so much simpler for the casual user.
And sooo much slower (and memory extensive)... I submit that
the vast majority of people would NOT require it and thus
should not be subjected to the overhead.
But that's just my own 2c :)