harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Fridlender" <dfridlen...@gmail.com>
Subject Re: ITC's java.math package contribution
Date Sat, 22 Apr 2006 23:57:36 GMT
Hi Geir,

The 1.5 spec includes an Enum which is used in BigDecimal.
But we surely can compile to 1.4 bytecode the part of the
implementation that corresponds to the 1.4 API.

Regards,

Daniel Fridlender

On 4/21/06, Geir Magnusson Jr <geir@pobox.com> wrote:
>
>
> Daniel Fridlender wrote:
> > Dear all,
> >
> > on behalf of ITC I have updated our contribution of the package
> > java.math including some recent optimizations (HARMONY-199).  I think
> > it  would be interesting to compare our implementation with the one
> > donated by Intel (HARMONY-39).  In order to do that, it would be nice
> > to have a collection of applications were the package is used.
> >
> > So far, we have tried both implementations with a realistic
> > application (RSA key generation) and our implementation turned out to
> > have a significantly better performance.
>
> Nice!  Performance is good!
>
> >
> > Another point is that we implemented the full 1.5 API functionality,
> > which in the case of BigDecimal amounts to having about twice as many
> > methods as in the 1.4.2 API.  This may have little significance now,
> > but it will definitely be important when Harmony moves to 1.5
> >
> > Our implementation uses 1.5 syntax since the 1.5 API includes an Enum
> > (RoundingMode).
> > It should be easy to obtain a 1.4.2 implementation of the 1.4.2 API from it.
>
> Great - can we compile down to 1.4 bytecode?
>
> geir
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message