Again Hi!
On Jun 4, 10:00 am, [email protected] wrote:
...
> So, if nobody tells me that the above is complete nonsense, I will try
> and improve Gap._execute_line.
I did, and there was an improvement.
Before (using your two functions as a test), I had
sage: time L=genSub1(3)
CPU times: user 0.51 s, sys: 0.05 s, total: 0.56 s
Wall time: 0.83 s
sage: time L=genSub2(3)
CPU times: user 1.16 s, sys: 0.09 s, total: 1.25 s
Wall time: 1.25 s
After my changes, I got
sage: time L=genSub1(3)
CPU times: user 0.34 s, sys: 0.02 s, total: 0.36 s
Wall time: 0.38 s
sage: time L=genSub2(3)
CPU times: user 0.74 s, sys: 0.11 s, total: 0.84 s
Wall time: 0.86 s
Hence, although the use of built-in subgroup comparison is still
slower than a comparison of lists of elements (at least for some group
size), the gap interface seems to become faster, on average.
I will open a ticket, I think.
Best regards,
Simon
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---