Changes between Initial Version and Version 1 of Ticket #18390


Ignore:
Timestamp:
05/09/15 17:53:36 (4 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18390

    • Property Summary changed from cleanup polynomial ring factory to cleanup variable factories
  • Ticket #18390 – Description

    initial v1  
    1 Creation of polynomial ring is very slow. In this ticket we do some cleanup that significatively increase the creation.
     1The `PolynomialRing` factory is written in a very complicated way and is slightly different to `FreeAlgebra`. In this ticket, we normalize the inputs of all factories involving variables.
     2
     3Some changes are noticeable
     4
     51. the following will now raise `TypeError`
     6{{{
     7sage: R.<a,b> = PolynomialRing(QQ, ('a', 'b'))
     8sage: A.<x,y,z> = FreeAlgebra(QQ, 'x,y,z')
     9}}}
     10
     112. The `var_array` argument in `PolynomialRing` is deprecated
     12
     13As a sided effect, we got some speedup in polynomial ring creation!