Dekiscript Optimization

deki-users
2009-09-10
2013-02-26
  • I have been kicking this around for a while but would like to hear some other points of views as well.

    Is there any where that lists the most efficient method to retrieve certain data.  Take the following example.

    If I wanted only the page titles and or URI for each subpage to a parent:

    Would it be more efficient to use wiki.getpage or parse the title/URI out of a xml.text(wiki.tree...). 

    In my head if we issue a wiki.getpage that page is rendered and would slow things down and the wiki.tree command is simply gathering specific data about the subpages and not rendering the pages so therefore should be more efficient. 

    Or does the wiki.getpage simply return the unrendered text that would only get rendered when visualized?

    Or am I completely off track.

    To view responses click here: http://forums.developer.mindtouch.com/showthread.php?t=6294