#10530: De Bruijn Sequence construction for combinat
---------------------------------+------------------------------------------
   Reporter:  eviatarbach        |       Owner:  sage-combinat
       Type:  enhancement        |      Status:  needs_work   
   Priority:  major              |   Milestone:  sage-4.6.1   
  Component:  combinatorics      |    Keywords:               
     Author:  Eviatar Bach       |    Upstream:  N/A          
   Reviewer:  Nicolas M. ThiƩry  |      Merged:               
Work_issues:                     |  
---------------------------------+------------------------------------------

Comment(by eviatarbach):

 Append is marginally faster (by about one microsecond), probably because
 for the other I had to declare a global ''index'' variable in Python.

 Let me get this straight:

 == Python ==
 Filename: debruijn_sequence.py
 Class name: DeBruijnSequence (DeBruijnSequences wouldn't make sense since
 only one is generated)


 == Cython ==
 Filename: debruijn_sequence.pyx
 Function name: debruijn_sequence

 Is this correct?

 Also, for some reason, when I use underscores in debruijn_sequence.py, I
 get this error:

 {{{
 ImportError: dynamic module does not define init function
 (initdebruijn_sequence)
 }}}

 Thank you!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10530#comment:6>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to