--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I would steer away for primative as much as possible.
>
> Keep in mind that excessive object creation can and usually is
> a significant performance drain, both because it is slow in itself
> despite all kinds of optimization as well as causing more GC.
I think we should consider what the typical use cases will be for this library.
Of course we could turn out to be wrong about that, but given that it's not
supposed to be a heavy-duty numerics library, perhaps a more purely-OO design
is not necessarily a bad thing. For instance, if we find that the library is
mostly used to calculate the minimum, maximum, and average of a set of numbers
for a report, and that report is only run once a month, then the efficiency of
primitives vs. objects isn't that important.
Of course we should not paint ourselves into a corner regarding the design. If
many users start using the library for intensive numerical tasks, it would be
good if the library's design was flexible enough to accommodate any needed
efficiency improvements.
One thing that I am curious about is the design of COLT, which claims to have
very good performance.
Al
=====
Albert Davidson Chou
Get answers to Mac questions at http://www.Mac-Mgrs.org/ .
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]