The q: algorithm in J is not the best known.
(I am not a factoring expert.)  It uses
elliptic curves together with Miller-Rabin to 
test for primes.  You may want to try
http://www.alpertron.com.ar/ecm.htm



----- Original Message -----
From: Devon McCormick <[EMAIL PROTECTED]>
Date: Wednesday, February 7, 2007 9:14 am
Subject: Re: [Jgeneral] speeding up J

...

Having made the case against attempting to 
parallelize most J primitives on a multi-core 
architecture, I am currently running something 
in J which could potentially benefit from this 
though I don't know the details of the Miller-Rabin
factoring algorithm (which I believe underlies q:) 
sufficiently well to say this for certain: I've 
been running q: on an 88-digit number for about 
the past two days.  Until it finishes, I'm 
reluctant to shut down my machine.  A potentially
long-running algorithm like this is one of the few 
that might benefit from the current multi-core
trends.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to