Duplicating will always be faster under load than single threading the app with an exclusive lock, as the duplicate can run safely in multiple threads (well, we haven't seen any issues with it yet, anyway).
On Tue, Aug 12, 2008 at 11:43 AM, Mark Mandel <[EMAIL PROTECTED]> wrote: > How bizarre! > > I wonder which would be faster, a lock around the parse, or > duplicating the XMDoc? > > Mark > > On Tue, Aug 12, 2008 at 1:25 PM, James Holmes <[EMAIL PROTECTED]> wrote: >> Our testing confirms your suspicions; a duplicate() seems to perform >> better than re-parsing the XML string. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310833 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

