Author |
Message
|
bond_02 |
Posted: Tue Dec 26, 2006 11:00 pm Post subject: Why 'create lastchild' is faster than 'set' statement ... |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Dec 27, 2006 12:22 am Post subject: |
|
|
 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 |
|
 |
bond_02 |
Posted: Wed Dec 27, 2006 12:34 am Post subject: yes.ofcourse the performance issue! |
|
|
 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 |
|
 |
bond_02 |
Posted: Wed Dec 27, 2006 12:37 am Post subject: Re: yes.ofcourse the performance issue! |
|
|
 Apprentice
Joined: 21 Dec 2006 Posts: 39 Location: kolkata
|
yes.ofcourse the performance issue! |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 27, 2006 12:51 am Post subject: Re: yes.ofcourse the performance issue! |
|
|
 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 |
|
 |
bond_02 |
Posted: Wed Dec 27, 2006 12:58 am Post subject: Re: yes.ofcourse the performance issue! |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Dec 27, 2006 1:09 am Post subject: Re: yes.ofcourse the performance issue! |
|
|
 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 |
|
 |
|