Mentions légales du service

Skip to content

ENH: Improve speed of Fast LO init

The __init__ of FastLinearOperator involves iterating through every row to find where it is used. This is time consuming and can be improved.

This commit changes the strategy to iterate over elements of the matrix instead. This makes the performance linear with the number of elements, instead of quadratic.

Merge request reports