Salut,

Nicolas pointed me to a missconfiguration in ubuntu, see
http://groups.google.com/group/sage-devel/browse_thread/thread/5db90b3681e7dbcb/e2fde09f672c83fb?lnk=gst&q=sandpile#e2fde09f672c83fb.

This causes extreme slowdowns on ubuntu machines, here is an examples
run on ubuntu and on mac for the records:

cpu comparison:

-- ubuntu
sage: %timeit prod( i for i in range(1,10000) )
25 loops, best of 3: 36.6 ms per loop

-- mac
sage: %timeit prod( i for i in range(1,10000) )
25 loops, best of 3: 33.6 ms per loop

list all permutations:

-- ubuntu
sage: G = PermutationGroup([(i,i+1) for i in [1..4]])
sage: %time L = list(G)
CPU times: user 0.35 s, sys: 0.10 s, total: 0.45 s
Wall time: 10.33 s

-- mac
sage: S = PermutationGroup([(i,i-1) for i in [1..4]])
sage: %time list(S)
CPU times: user 0.02 s, sys: 0.03 s, total: 0.05 s
Wall time: 1.11 s

-- mac
sage: S = PermutationGroup([(i,i-1) for i in [1..8]])
sage: %time L = list(S)
CPU times: user 29.33 s, sys: 16.02 s, total: 45.35 s
Wall time: 45.47 s

The later computation is totally unreachable for ubuntu. I hope this
will be fixed in the next version of ubuntu in 6 days (but I have no
idea if it is reasonable to hope for it).

Best, Christian

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to