#18152: Universal Cyclotomic Field implementation using libgap
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  number fields      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/18152                 |  e4a352468cf9c018b9bdf148a3de03793a111b9e
   Dependencies:  #18153             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 On the other hand your code becomes slower when the element is more
 complicated
 {{{
 sage: a = sum(E_libgap( 2^8 * 3^4, i) for i in range(0, 2**12, 37))
 sage: b = sum(E_native( 2^8 * 3^4, i) for i in range(0, 2**12, 37))
 sage: %timeit _ = a.conjugate()
 1000 loops, best of 3: 262 µs per loop
 sage: %timeit _ = b.conjugate()
 1000 loops, best of 3: 793 µs per loop
 }}}
 So I would not say that `conjugate` is slower.

--
Ticket URL: <http://trac.sagemath.org/ticket/18152#comment:27>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to