J
Jeremy Watts
Hi,
I've written a series of math programs in Java, the one I'm currently
concerned with factors univariate polynomials (polynomials of one variable
only) with integer coefficients.
I've been timing its execution speed on larger sized polynomials, this one
in particular has degree (the highest value amongst the exponents of the
terms) of 53.
My program takes around 15 - 20s to factor this, but this site here:-
http://wims.unice.fr/wims/wims.cgi?lang=en&module=tool/algebra/factor.en&cmd=new&
does the same polynomial in under half a second.
Would you say the main factor explaining the difference between the
execution speeds, is the fact that I am running Java and the site is likely
running native machine code on a server (if that indeed is what it is doing)
?
(I'm pretty sure we're both running the same algorithms to accomplish the
factorizations.)
Jeremy Watts
I've written a series of math programs in Java, the one I'm currently
concerned with factors univariate polynomials (polynomials of one variable
only) with integer coefficients.
I've been timing its execution speed on larger sized polynomials, this one
in particular has degree (the highest value amongst the exponents of the
terms) of 53.
My program takes around 15 - 20s to factor this, but this site here:-
http://wims.unice.fr/wims/wims.cgi?lang=en&module=tool/algebra/factor.en&cmd=new&
does the same polynomial in under half a second.
Would you say the main factor explaining the difference between the
execution speeds, is the fact that I am running Java and the site is likely
running native machine code on a server (if that indeed is what it is doing)
?
(I'm pretty sure we're both running the same algorithms to accomplish the
factorizations.)
Jeremy Watts