coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

factor: new GMP slow down?


From: Pádraig Brady
Subject: factor: new GMP slow down?
Date: Mon, 08 Oct 2012 17:01:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

With the new factor rewrite I've noticed a large slowdown,
with the GMP path.  No time to investigate at present...

$ time ~/git/coreutils/src/factor 
'44444444444444444444444444444444444444444444444444444444444444444444444444444'
gmp
44444444444444444444444444444444444444444444444444444444444444444444444444444: 
2 2 239 4649 5237 21649 42043 513239 29920507 
136614668576002329371496447555915740910181043

real    0m0.385s
user    0m0.381s
sys     0m0.002s

$ time factor 
'44444444444444444444444444444444444444444444444444444444444444444444444444444'
44444444444444444444444444444444444444444444444444444444444444444444444444444: 
2 2 239 4649 5237 21649 42043 513239 29920507 
136614668576002329371496447555915740910181043

real    0m0.019s
user    0m0.016s
sys     0m0.003s



reply via email to

[Prev in Thread] Current Thread [Next in Thread]