Skip to content

Orbits/affine spaces in GAP #5692

Answered by fingolfin
alexdegt-ops asked this question in Q&A
Discussion options

You must be logged in to vote

after quite a few test runs I couldn't get any conclusive comparison results: on the same input, time varies from run to run and there seems to be no definite winner

Most likely you are seeing fluctuations due to "garbage collection": your orbit computations likely use a lot of memory and leave behind a lot of garbage. From time to time, GAP has to collect that and throw out what it doesn't need.

For reliably benchmarking, you should therefore make sure the garbage has been disposed off before starting to measure. E.g.

gap> G:=GL(18,2);; V:=GF(2)^18;;
gap> orbs:=OrbitsDomain(G,V);; time;
659

After the first run, computations get faster because GAP computed and cached some data about G.…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by alexdegt-ops
Comment options

You must be logged in to vote
1 reply
@alexdegt-ops
Comment options

Comment options

You must be logged in to vote
1 reply
@alexdegt-ops
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants