I have heard on the grapevine that to use document-uri() or base-uri() functions is bad for performance, although I can't seem to find anything about that in MarkLogic's docs or elsewhere on the internet. One of the reasons given was that using those functions "dereference the document", or that MarkLogic Server has to go to disk to resolve the uri. Although I'm not sure what is really meant by "dereference"
Could someone clear this up. Has the grapevine got the wrong end of the stick or is it perhaps how the function is used, perhaps in loops, that is the reason behind this thinking? We use those two functions so much, particularly base-uri(), in our code that we would consider some rewrites if it really is something to minimise. Many thanks, Rachel ---------------------------- http://www.bbc.co.uk This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ---------------------
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
