On Wed, Jan 11, 2023 at 2:02 PM 'Julian Nowakowski' via sage-devel
<
sage-...@googlegroups.com> wrote:
>
> Hi Dima,
>
> thank you for your suggestion.
>
> We still think that this issue is Sage-related.
> We have already tried to figure out, whether the slowdown is simply an issue of fpylll.
> If that was the case, then the slowdown would probably be caused by one of the following two issues:
>
> 1) The newer versions of fpylll, that ship with sage9, might be much slower than the older versions, that ship with sage8.
> 2) Running fpylll with python2 (as in sage8) might be much faster than running it with python3 (as in sage9).
>
> To test, if that is case, we built the versions of fpylll, that ship with sage9, by ourselves.
> We then ran the above code in these builds, using both python2 and python3.
> In these runs, fpylll was just as fast as it was in sage8.x.
> So the slowdown is probably not caused by the differences in fpylll/python versions.
>
> It seems more likely to us that sage 9.x is doing something strange when building fpylll and that this is causing the slowdown.
Are you using a binary distribution of Sage? We are not maintaining
any, so that's then
the question for maintainers of such a binary then.
Then, I don't think fpylll matters here, for it's just a thin wrapper
for libfplll, written in C++, and the
LLL computations is done there, not in Python.
It might be that you are using a slow libfplll, e.g. installed by your
package manager -
then it's likely a binary which does not use full capacities of your CPU,
whereas older versions of Sage have been building libfplll from source.
Without more details on your platform, it's hard to tell what exactly
goes wrong.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/d0abe8fb-d821-48b1-8aee-aa10a61754b4n%40googlegroups.com.