Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6353 +/- ##
==========================================
+ Coverage 78.63% 78.66% +0.02%
==========================================
Files 684 684
Lines 292689 292707 +18
Branches 8686 8660 -26
==========================================
+ Hits 230155 230254 +99
+ Misses 60726 60641 -85
- Partials 1808 1812 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ThomasBreuer
left a comment
There was a problem hiding this comment.
The old code uses IdGroup only if the group in question has order at most 1000. The proposed code uses it also for larger groups, for example for groups of order p^4, where p is any prime. Is this intended?
| else | ||
| l:=[idx,fail]; | ||
| fi; | ||
| f:=Image(hom,gp); |
There was a problem hiding this comment.
This is irritating:
We have hom, and here we create its image, but a few lines above we create this group as gp/nor on the fly, just in order to call IdGroup.
There was a problem hiding this comment.
Yeah that's weird. I've rearranged the code now to avoid this.
... instead of hardcoding assumptions about the availability of IdGroup.
|
The limit to 1000 seemed arbitrary, perhaps an attempt approximate The code was added by @hulpke on 2013-01-25, in a commit with commit message |
limakzi
left a comment
There was a problem hiding this comment.
@fingolfin
I do not like such hard-coded limits in the middle of the code.
Can move it to general file, like limits.gi?
|
It is more than ID_AVAILABLE, but avoiding too large groups (where identification might take too long, e.g. 1024). No objection to provide a more general feature, but it is not just capability but time needed for such calls. |
|
Since I'd like to move on, I've restored the limit for now (well... almost: it now restricts to order I was not aware that Regarding a file |
At the moment, I do not have concrete examples, but some time ago I made experiments in a situation where many small groups arise, and a lot of them turn out to be uninteresting, due to some conditions. |
Haven't found issue for that, is there?
I cannot find any neither, but I feel same.
Yes. |
I am not aware of any |
|
@hulpke is this PR OK for you then? it should not change current behaviour in an essential way (unless I messed up). If so, please approve |
... instead of hardcoding assumptions about the availability of IdGroup.
... instead of hardcoding assumptions about the availability of
IdGroup.