xsl-list
[Top] [All Lists]

RE: format-number

2003-01-21 10:16:09
  Hi,
  How expensive format-number() operation?
  I need to this for all the rows - should I do this on Java 
side when I build XML? or is the cost for this operation negligible?

The only answer to this is, measure it and see.

A couple of years ago I found a stylesheet that ran ten times faster
with one Java VM than another, regardless whether you used Saxon or xt.
It turned out to be a difference in the decimal number formatting
routines used by the format-number() implementation in both products.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>