-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the factor databases #14
Comments
A slightly improved This data collection has grown considerably since its last update in |
Oh that's nice @frankluebeck, thanks! |
One can possibly make |
Yes, gzipping all files in that directory shrinks it from 350 MB to 130 MB. But this does not shrink the distribution archive. One could download and cache the files only when they are needed, similar to data in AtlasRep and maybe provide a utility function to download everything. But that is more work. (This approach could be useful for other packages as well). |
If we want to make a new release incorporating PR #23, we should be ready to the 20-fold increase of the package distribution size. FactInt-master.zip is now 116 Mb, and tar.gz will be smaller, but still a lot. To compare, FactInt-1.6.3.zip was 5 Mb. |
Yeah this growth is really unfortunate. We just spent a lot of effort together with the simpcomp maintainer to slim down their package, and this is all eaten up (and more) by the growth of FactInt, for a change that I think is not that useful for most GAP users (no offense intended! I am sure it's very useful for something, just not for "most"). Some other package download such data only on demand, perhaps FactInt could do something like this? And of course we may need the whole concept of our package distribution... |
The same issue is avoided in |
Above I have made one proposal to reduce the distribution size (to about 13% of the discussed growth) by only including factors where the base is a prime. Another possibility: do not distribute any new factors, and instead add and document a utility function like
(the date part of the latter call must be updated from time to time) PS: I think "is not that useful for most GAP users" is not a valid criterion, as long as "most GAP users" does not mean "all GAP users", because this holds for almost everthing we distribute with GAP. |
Ok, so I am delaying the release until this will be resolved, in one way or another. |
It would be nice to tackle the issue of the large increase of the FactInt download. I would not like to make a release until then. |
A decision is needed about a default set of factors distributed with the package. This could be just a set distributed with former versions of FactInt. The database of factors can be extended to all known factors of numbers of this kind by the following function:
Instead of |
I would go for an additional set to download from FactInt page and instructions how to install it. Downloading from URLs of others where we don't have any control is not sustainable in the long run. |
The factor databases shipped with FactInt have not been updated since years. For example, the database of factors of integers of the form b^k +/- 1 has been updated for the last time in June 2011. Depending on how much people need additional factorizations of such numbers which have been found since then in the corresponding factorization projects, one could update the databases again. Of course one needs to take into account the additional storage consumption when storing more factors.
By the way, the URL of the database of factors of integers of the form b^k +/- 1 has changed since its mentioning in lib/general.gi. It is now http://myfactors.mooo.com/ .
The text was updated successfully, but these errors were encountered: