#20031: Wrap new Arb functions
-------------------------------------+-------------------------------------
       Reporter:  fredrik.johansson  |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-7.1
      Component:  numerical          |   Resolution:
       Keywords:  arb                |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/fredrik.johansson/wrap_new_arb_functions|  
d2ac60df32f91600c48189109bfe4715daa01546
   Dependencies:  #19811             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by fredrik.johansson):

 {{{
 sage: %timeit hilbert_class_polynomial(-103, algorithm="arb");
 10000 loops, best of 3: 74.9 µs per loop
 sage: %timeit hilbert_class_polynomial(-103, algorithm="sage");
 1000 loops, best of 3: 1.13 ms per loop

 sage: %time a=hilbert_class_polynomial(-10000003, algorithm="arb");
 CPU times: user 24.4 s, sys: 43.9 ms, total: 24.4 s
 Wall time: 24.4 s
 sage: %time b=hilbert_class_polynomial(-10000003, algorithm="sage");
 CPU times: user 5min, sys: 509 ms, total: 5min 1s
 Wall time: 5min 1s
 sage: a == b
 True
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20031#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to