Re: Diazo overhead?

Martin Aspeli <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAPN0AAQ35-WAnTv6R3TYRQLeF0ZkwZVYRGZ+dk-VD-E2Ko0QZQ@mail.gmail.com>
On 6 November 2014 11:36, Daniel Jowett <[email protected]> wrote:

>  I think there was some mention at the conference of an overhead
> from using "*" in some Diazo rules.  Would anyone care to expand on that
>

Using * or Xpath expressions beginning with // (sometimes/usually) means
"search anywhere in the document". So that can be slow because it has to
look everywhere. More precise expressions are faster because you're giving
the parser more information about where to look.

Martin

------------------------------------------------------------------------------

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.