Jaco de Groot <[EMAIL PROTECTED]> wrote:
> Michiel Meeuwissen wrote:
> >I meant that it is perhaps not practical to type @mmbase, '$my_text' 
> >because
> >you may easily forget to use this '@mmbase'. You may see a problem only 
> >when
> >accidentily non-ascii chars (like \'e), appear in @my_text, so actually you
> >will have to use this @-feature, _always_. So, I was suggesting to create 
> >an
> >intermediate file always, also when not explicitely requested (why would
> >somebody wants to know that?). 
> 
> This would not be backwards compatible. Maybe some people are already using 
> %w and want it to be replaced by the image width. I'm not using this 
> feature, I wouldn't object to make this new behaviour default, but I'm not 
> sure if we are going to break existing sites. And maybe the old method is a 
> little better for performance.

But %w in a file is also transformed to the image-width, and also when not
using a file isn't it (at least according to my test)? So I don't see the
difference. How could it break an existing site then?

Perhaps not creating a file is a bit better for performance but I would
prefer correctness, and simplicity, also because the penalty is very little
because the result is cached in a icache object anyway.

Michiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to