Closed eendebakpt closed 2 years ago
The Interpreter is constructed many times when fitting with lmfit. This PR improves performance by
Interpreter
lmfit
no_deepcopy
Current master branch:
%timeit Interpreter() 364 µs ± 21.4 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
With this PR
%timeit Interpreter() 271 µs ± 23.7 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
@newville
@eendebakpt thanks! I'll merge this
The
Interpreter
is constructed many times when fitting withlmfit
. This PR improves performance byno_deepcopy
Current master branch:
With this PR
@newville