> -----Ursprüngliche Nachricht----- > Von: Jim Jagielski > Gesendet: Donnerstag, 14. Februar 2008 15:12 > An: dev@httpd.apache.org > Betreff: Re: mod_substitute docs > > > 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 :)
+1 to this. Do not make (f)latten the default for the reasons stated by Jim. Regards Rüdiger