[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ordering of Blocks based on Input/Output

Subject: Re: Ordering of Blocks based on Input/Output
From: Dan Diebolt <dandiebolt@xxxxxxxxx>
Date: Wed, 9 May 2001 08:19:40 -0700 (PDT)
Re:  Ordering of Blocks based on Input/Output
J>The two solutions *will* give different results in certain situations
J>because of the different strategies they use.

I only need a one feasible ordering so differences at this level
don't matter.

J>My instinct is that going through the nodes
J>one by one would cause less nodes to be visited overall - it may seem
J>more efficient to collect and process them all at the same time, but
J>the collection process involves visiting a lot of nodes that shouldn't
J>be processed - the more you can cut down on this, the better.

On the two test cases I just ran, it does appear to be faster but I
am going to have to evalutate this over a broader range of cases
with different topologies. The key is faster than N's original non-key
solution. 

>Something that might improve performance is to have a pre-process that
>sorts the blocks according to how many inputs they have. 
 
Or would you want to sort the blocks by the number of outputs they have?
I would think you want to process blocks with lots of outputs first so
the algorithm will more quickly find matching inputs on the next pass.

Unfortunately I can't evaluate the pre-processor now. I have dozens sub 
problems that might also benefit from some pre-processing so I am going 
to put this on my list and tackle them all at once. 

Regards,

Dan

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.