You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the timing, this was caused by the @ngenerate changes. cc @timholy
This is really a special case of vector-related performance in general (see #1168), but it would be nice if there's something simple we can do to at least get back the old performance.
The text was updated successfully, but these errors were encountered:
Sorry about that. The issue was that r[i] is very slow for Ranges, so the J_d[i_d] statements were slow. I inserted a workaround. (A better fix will require inlining and/or boundscheck improvements for Ranges.) I also added an @inbounds to hopefully further boost performance, although that's much less important than fixing the indexing of Ranges.
This is a larger ratio than the loss of performance shown by codespeed; it seems possible that now we'll be even faster than before. (Either that, or it's machine-dependent.)
See http://speed.julialang.org/timeline/#/?exe=2,1,3&base=none&ben=laplace_vec&env=1&revs=50&equid=off
Based on the timing, this was caused by the
@ngenerate
changes. cc @timholyThis is really a special case of vector-related performance in general (see #1168), but it would be nice if there's something simple we can do to at least get back the old performance.
The text was updated successfully, but these errors were encountered: