Igor Schein on Thu, 08 May 2014 18:45:36 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Factoring small numbers
|
- To: Jeroen Demeyer <jdemeyer@cage.ugent.be>
- Subject: Re: Factoring small numbers
- From: Igor Schein <igorschein@gmail.com>
- Date: Thu, 8 May 2014 12:45:25 -0400
- Cc: pari-dev <pari-dev@pari.math.u-bordeaux1.fr>
- Delivery-date: Thu, 08 May 2014 18:45:36 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6lST7Ydh/FxJApkTH2shL5mmcaGT8PDMR2ka4uydrEE=; b=ECyWQx897w7hrhkwCzMSYLLAIQngJNQkbXyhXCz5KnD8YFRNS7q4lQrzIaoG12UbQW kGcbKbeDeDtq4sqmsx76tohfe+XsZVcGFZRM3IN+znngnuS5jdalC6nfeJL7dV/7R/Bn VnDFHWtYbCzaGoYZHs2FMwwz37HDUvM9dHJ1645mcqoDS2If6bsKyvULTcYAfESJ9cCw harWpvg/gBRd4kUdT5KFxoxqxY+eCd/miPk1mRH/MyysEnkc/RJ4z4fCuGR+RT6zdEO+ 1WwTVq4OiU4jZcaDum1+9aQ9Qax7bGjXi3n3hAwXvkuL9szWJAKfyJKGLK2vCnYcAKeg FQFg==
- In-reply-to: <536BB37B.2050603@cage.ugent.be>
- References: <536BB37B.2050603@cage.ugent.be>
On Thu, May 8, 2014 at 12:40 PM, Jeroen Demeyer <jdemeyer@cage.ugent.be> wrote:
> Dear pari-dev,
>
> While working on Sage today, I was very amazed that GAP is much faster than
> PARI for factoring small numbers.
>
> For example, for factoring 19180172397815991981, GAP beats PARI by a factor
> of about 20. As far as I know, PARI uses rho + MPQS while GAP only uses
> Pollard rho. So perhaps PARI shouldn't use MPQS for numbers of this size.
>
> Any opinions?
>
>
> Cheers,
> Jeroen.
>
gp takes under 3ms to factor 19180172397815991981. Hard to beat that IMO.
Igor