Dear Johan,

> The most inefficient part of _matrix_to_digraph seems to be the 
> following line: 
> >                     x = edge_labels.index((a,b)) 

you are totally right, thanks for this suggestion! (Unfortunately, this 
will not change anything in practice, because the list edge_labels will 
usually be at most of length 2, and never be longer than 5 in my case, 
independent of n and m.)



You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to