ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Why 'create lastchild' is faster than 'set' statement ...

Post new topic  Reply to topic
 Why 'create lastchild' is faster than 'set' statement ... « View previous topic :: View next topic » 
Author Message
bond_02
PostPosted: Tue Dec 26, 2006 11:00 pm    Post subject: Why 'create lastchild' is faster than 'set' statement ... Reply with quote

Apprentice

Joined: 21 Dec 2006
Posts: 39
Location: kolkata

Why 'create lastchild' is faster than 'set' statement when assigning value to output xml message picking it up from input xml message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Wed Dec 27, 2006 12:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Why would you expect it not to be?
Do you have timings to demonstrate this?
Are you trying to solve a performance issue? Or gain detailed knowledge of the product's internal parsing strategy?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bond_02
PostPosted: Wed Dec 27, 2006 12:34 am    Post subject: yes.ofcourse the performance issue! Reply with quote

Apprentice

Joined: 21 Dec 2006
Posts: 39
Location: kolkata

Vitor wrote:
Why would you expect it not to be?
Do you have timings to demonstrate this?
Are you trying to solve a performance issue? Or gain detailed knowledge of the product's internal parsing strategy?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bond_02
PostPosted: Wed Dec 27, 2006 12:37 am    Post subject: Re: yes.ofcourse the performance issue! Reply with quote

Apprentice

Joined: 21 Dec 2006
Posts: 39
Location: kolkata

yes.ofcourse the performance issue!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Wed Dec 27, 2006 12:51 am    Post subject: Re: yes.ofcourse the performance issue! Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bond_02 wrote:
yes.ofcourse the performance issue!


So how much of a difference are you seeing? I'd not hae expected an impact unless you have a very large document or some very dodgy code.

The simple answer is that "set" requires the tree to be parsed where "create" does not require a full parse.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bond_02
PostPosted: Wed Dec 27, 2006 12:58 am    Post subject: Re: yes.ofcourse the performance issue! Reply with quote

Apprentice

Joined: 21 Dec 2006
Posts: 39
Location: kolkata

exactly that type of suggestions from manuals provided by IBM site.
_________________
Never assume you know everything.
Never assume you've seen everything.
Never discount the value of a book. If only as a weapon.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Wed Dec 27, 2006 1:09 am    Post subject: Re: yes.ofcourse the performance issue! Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bond_02 wrote:
exactly that type of suggestions from manuals provided by IBM site.


Is that a question or a statement?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Why 'create lastchild' is faster than 'set' statement ...
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.