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

Re: Re: An efficient repeat() template (Was: RE: Re: R

Subject: Re: Re: An efficient repeat() template (Was: RE: Re: RE: creating a string of repeated charactors)
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 18 Jul 2001 06:03:55 -0700 (PDT)
repeat r
> > repeat()      -- 67 to 73 milliseconds (50 to 53 if I hardcode 15 for
$ActualTimes)
> >
> > str:padding() -- 130 to 150 milliseconds
> >
> > Therefore repeat() is about 2.8 times as fast as str:padding()
> >

> when looking at optimisation techniques, i would rather first look at those
> techniques which give me benefits in orders of magnitude, then fine tune at
> the unit level; thus my compiled stylesheet comments.
> 
> i will use these 2 forms as test case for my compiled stylesheet project i
> am working on at the moment, will be interesting to see if there is any
> significant difference once they are compiled.

Shouldn't be any difference, as I reported the "execution time" -- this does not
include loading and compilation. 

> and in essence i disagree with
> the practice of inefficient coding.

So do I... :o)

Cheers,
Dimitre.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.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.