Hello, Developers!

1) The ongoing effort of modularizing stat computations
   is very worthy thing. I'm tracking this thread and
   just wish you success.

2) As I have observed, you currently are implementing
   two sorts of methods:

   storageless, like

       double computeXXX( double[] )
   
   storage-empowered, like

       double increment( double )

   but the later sort of methods do return the
   value accumulated up to the moment on every
   call, which often costs a certain amount of
   CPU cycles.

   Can we imagine another contract,

       void increment( double )
       double getResult()

   which would allow to feed in values one-by-one,
   but get the result only once?

   This would probably be closer to efficience
   to the storageless approach, yet we won't
   have to create a double[], DoubleArray or a Collection
   and hand it in, but would be able to feed-in values
   the way we like it w/o any restriction.

-Anton


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to