Re: performance improvements for 1.3
Dave Rolsky <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 27 Sep 2004, Jonathan Swartz wrote: > * Replace the Buffer object with a simple scalar, and replace the > generated $m->print() call in components with in-line concatenation > unless autoflush is enabled. I assume this still works with filters, cache_self/call_self, etc. There's tests for all this stuff, so presumably they pass. Design-wise, this seems like a step backwards to me, but OTOH the buffer objects don't really _do_ much, so I guess it's probably ok. > * Can no longer print a list inside <% %>, e.g. <% @foo %>, because > these tags are now translated into simple in-line concatenations. This > is no great loss since you can just use a join. If people think it is > warranted, we can continue to support this syntax (and disable the > optimization) for a limited time via a special compiler flag. I don't know that we ever documented this one way or another, but this has always worked in the past. I think people might complain a bit. I personally have never done this. -dave /*=========================== VegGuide.Org Your guide to all that's veg. ===========================*/ ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php