commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject [Math] linearCombination (Was: Re: svn commit: r1154250 - [...])
Date Sat, 06 Aug 2011 00:28:58 GMT

> [...]

I've allowed myself to adapt your code to an array version of the
accurate "linearCombination" (committed in revision 1154416).

Here is a micro-benchmark (for an array of length 3):
-----
linearCombination (runs per timed block: 10000, timed blocks: 1000)
  direct inline: 1.789185e-05 (1.580520e-05) ms
   direct array: 2.009243e-05 (1.257636e-05) ms
accurate inline: 4.244761e-05 (5.882379e-05) ms
 accurate array: 9.365895e-05 (6.902221e-05) ms
-----


Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message