|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A super-efficient way to compute the sum of A[i] *
Am 09.05.2020 um 13:59 schrieb Costello, Roger L. costello@xxxxxxxxx:
Hi Folks,n. number($B/col[$i])) of these computations, so I want to use the most efficient approach. You can express it a bit more nicely in XPath 3 with higher-order functions as sum(for-each-pair($A/col, $B/col, function($a, $b) { $a * $b})) but whether that performs better or worse is something you can only measure.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart


![Re: A super-efficient way to compute the sum of A[i] *](/images/get_stylus.gif)





