#16362: Orthogonal Polar Graph
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  graph theory       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nathann Cohen      |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/ticket/16362                |  ff7d3387b4436411ed6785e2a3b6c5c37f2ca1f6
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dimpase):

 No, it's not a problem. This is just initialisation that takes longer due
 to lazy import of libgap. If I repeat tests on my branch I get

 {{{
 sage: %time G=graphs.OrthogonalPolarGraph(6,3,"+"); G
 CPU times: user 3.58 s, sys: 61 ms, total: 3.64 s
 Wall time: 3.65 s
 sage: %time G=graphs.OrthogonalPolarGraph(6,3,"+"); G
 CPU times: user 735 ms, sys: 12 ms, total: 747 ms
 Wall time: 728 ms
 sage: %time G=graphs.OrthogonalPolarGraph(6,3,"+"); G
 CPU times: user 757 ms, sys: 6 ms, total: 763 ms
 Wall time: 757 ms
 }}}

 and on your branch I get
 {{{
 sage: %time G=graphs.OrthogonalPolarGraph(6,3,"+"); G
 CPU times: user 795 ms, sys: 17 ms, total: 812 ms
 Wall time: 948 ms
 sage: %time G=graphs.OrthogonalPolarGraph(6,3,"+"); G
 CPU times: user 744 ms, sys: 2 ms, total: 746 ms
 Wall time: 755 ms
 sage: %time G=graphs.OrthogonalPolarGraph(6,3,"+"); G
 CPU times: user 761 ms, sys: 4 ms, total: 765 ms
 Wall time: 777 ms
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16362#comment:32>
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