-
-
Notifications
You must be signed in to change notification settings - Fork 74
Unexpectedly many allocations for in place operations #348
Comments
yes, that looks bad. |
I confirm this problem is still there.
there is one allocation can be reduced by:
Then I define
This is much faster than do it directly.
But it seems not possible to define
and results in some improvement:
|
It may be a threading performance issue. We may need to use |
Hi Chris, did you notice the difference in allocations between operating the whole matrix or only one column? |
Firstly, thank you. I'm really enjoying the SciML ecosystem.
I'm noticing an unexpectedly high number of allocations when applying operators in place. Here's a minimal example:
I was expecting a bigger reduction in allocations during the in-place application.
The text was updated successfully, but these errors were encountered: