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

Re: A new Sudoku xslt implementation (Was: Re:

Subject: Re: A new Sudoku xslt implementation (Was: Re: Sudoku - A solution in XSLT 2)
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sun, 12 Mar 2006 11:50:20 +1100
Re:  A new Sudoku xslt implementation (Was: Re:
Hi Andrew,

> Hi Demitre,
>
> I ran the fiendish board with both stylesheets and have different
> results to you!

It's no surprise. My implementation runs almost twice as fast on my
2.13GHz Pentium M laptop than it does on my 3GHz Pentium IV desktop --
I guess this is due to the larger cache of the laptop.

What I noticed, though, was that your implementation did not gain any
speed from the desktop to the laptop -- something I can't explain.

I am also running Saxon (8.7) with the -3 option.

Are you using Saxon 8.7 or an earlier version?

To summarize, the results, unfortunately, vary greatly depending on
the computer they are run.

On my laptop my implementation has been faster in 5 out of 6 cases.

Anyway, the purpose of this thread is for any sudoku xslt
implementation to improve, which I already see is the case.


--
Cheers,
Dimitre Novatchev
---------------------------------------
A writer is a person for whom writing is more difficult than it is for
other people.




>
> I have:
>
> AW1     AW2     DN
> 52.5      10.7      15.75
> 50.5      10.3      15.81
> 49.5      10.5      15.9
>
> The tests were run using SaxonB 8.7 from the command line with the -3
> option to run the transform 3 times.
>
> One difference to note is that my stylesheet is a "standalone"
> stylesheet which needs the -it switch, whereas yours is the more
> traditional one which uses an input XML.  I doubt this is that
> significant but Saxon does produce different output for the two types
> when using the -t switch (no memory info for standalone).
>
> Either way, when using the "fiendish" board you've provided, I place
> mine at just over 50% faster than yours at the moment :)

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.