On 03/12/2016 01:05 PM, Volker Braun wrote:
> IMHO that test is ridiculously slow for what it does. How does
> min_rays=7 test anything that isn't already tested with min_rays=4, say?
> It just grinds CPU cycles, but doesn't cover any new line of code.
>
It's easy to get four rays in three dimensions: generate them until you
have four. Seven is much harder, since the first six will usually
normalize to { +-e_1, +-e_2, +-e_3 } = R^3. So asking for seven rays
usually requires random_cone() to throw out its working ray set and
start over, whereas asking for four is guaranteed to work the first time
around.
R^3 is the first space where you can get more than 2*dim rays, so you
also can't speed it up by doing it in R^2.
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.