Conversation
When doing intensive polynomial arithmetic with the NTL implementation the constructor with lists is called a large number of times and may spend a lot of time constructing the vector_space and FreeModuleElement objects. The very common call to vector_space(map=False) is optimized to be as cheap as possible using the already cached object. The common case of lists of length 0 and 1 is replaced by cheaper shortcuts.
|
EDIT: all my problems were fixed by I'm leaving the original comment below in case someone has a similar issue. The problem below was caused by You are just making my life miserable: I did nuke all the empty One thing I don't understand is: why on earth are the empty I would like to argue that the behaviour with or without these empty files should be identical. That's the point of PEP 420: that directories without In any case, as I requested before, it would be better if there is JUST ONE single point of "removing empty files that may break havoc" and then don't do it again. Even more: could we please have (1) one PR that introduces all the changes needed to support removing empty without having any type of trouble and without having to add random (2) a separate PR with only removal of empty Ideally (1) is merged in one release, and (2) is merged in a later release.
|
|
Kindly rephrase for clarity |
|
Rebased away from #35322. Ready for review. |
…rts from more packages
|
Rebased on top of #35418 |
|
FWIW, after fixing the trivial merge conflict, all tests pass for me on void linux. |
|
Merged & resolved |
|
LGTM |
|
Thanks! |
📚 Description
This is a follow-up on:
As preparation for #35322, which is changing more packages to implicit namespace packages, we remove
.allimports from these packages throughout the Sage library.This is part of:
📝 Checklist
⌛ Dependencies