Jutho / KrylovKit.jl

Krylov methods for linear problems, eigenvalues, singular values and matrix functions
Other
307 stars 38 forks source link

krylov space re-use [BifurcationKit jacobian-free methods optimization] #108

Open rveltz opened 11 hours ago

rveltz commented 11 hours ago

Hi,

I am (kinda re-) opening an issue because I think it is different from the issues on memory allocations that are still open. In BifurcationKit.jl, we solve repeatedly linear systems and compute eigenvalues. I am now improving BifurcationKit for Jacobian-free methods by avoiding allocations when possible. I love KrylovKit because it is robust and have the most general matrix-free eigen solver.

Thus, it would be nice to allow

Jutho commented 10 hours ago

Yes I agree that this is becoming more pressing. I was kind of hoping that work on Julia's GC would make this unnecessary, but it seems like this is not going to happen any time soon.