Changes between Version 5 and Version 6 of Ticket #25511


Ignore:
Timestamp:
06/06/18 09:45:49 (3 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25511 – Description

    v5 v6  
    111. The class `Matrix_gfpn_dense` has a special (and undocumented!) constructor to create a matrix from a filename. This is a very special case because it is the only case where the first argument is ''not'' the parent (the matrix space). Because of this special case, some optimizations that I plan to do in #25505 become harder. Instead, this constructor from a filename is changed to a classmethod `Matrix_gfpn_dense.from_filename()`.
    22
    3 2. Add a new function `new_from_meataxe` to create a new `Matrix_gfpn_dense` from a meataxe `Matrix_t*` and use it where applicable.
     32. Add a new function `new_mtx` to create a new `Matrix_gfpn_dense` from a meataxe `Matrix_t*` and use it where applicable. This simplifies a lot of existing code.
    44
    553. Remove `self._cache = {}` and `self._is_immutable = False` where possible because those shouldn't be needed.