cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Speed of jx-macros compared to FormsTransformer
Date Wed, 18 May 2005 07:19:10 GMT
Daniel Fagerstrom wrote:
>> 5. I think that evaluating lot's of jexl/jxpath expressions is awfully 
>> costly. I was debugging jxpath with FOM_Request problem and it gave me 
>> shivers. There's not much really we can do about it.
> 
> 
> We could implement an own really minimal expression language that is 
> read only and makes as much as possible at compile time. I'm *not* 
> volountering ;)
me neither :))

<snip/>
> Sooner or later we should start write a CTemplateGenerator where we 
> remove stuff that we don't want from JXTG. It will share nearly all code 
> with JXTG the main difference is that it has a different instruction 
> configuration file. I don't know if it is time for it yet.
> 
> Considering the automatic change detection, the situation isn't as bad 
> as you think.
> 
> IIRC, Sylvain implemented a clever caching mechanism for the 
> TraxTransformer so that it detects changes in xsl:includes. I don't 
> rememember the details but maybe Sylvain can give some pointers.
> 
> Anyway, during script compilation the URLs for the included scripts 
> should be registred in the cache validity object, then the next time the 
> script is executed, it can be checked if the main script or any imported 
> scripts has been changed. And we don't need any runtime mechanism anymore.
I'll look into that.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message