Jacek, On Thu, 21 Feb 2002 11:07:42 -0500, "Jacek R. Ambroziak" <[EMAIL PROTECTED]> wrote:
> The rewrite experiment only shows that there is a *serious bug* > in the compiler code AND that there is *hope* for much improved > performance of translets testing conditions in template patterns. > > 'dbonerow' helped focus our attention. There are other tests (eg. decoy) > which seem affected by the same bug. And then there are of course > many stylesheets written by our users :-) > > The rewrite is of the form: > > if (A && B) { ... } --> if (A) { if (B) { ... }} > > If the second version is 300 times faster, then we've got > something interesting going on here :-) If the (A && B) expression is executed correctly, e.g. when A is false, don't bother executing B, then the expressions are similar. Is it possible that XSLTC doesn't do this optimization? I don't see any other reason for such a huge difference. Regards, -- Ovidiu Predescu <[EMAIL PROTECTED]> http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]