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
Similar issue as I had previously in Vlaisator.jl. I noticed that although accessing variables via getvar was tagged with return type Any, it is only because derived types from dictionary and anonymous functions are called; if we go on layer deeper and look at only the selectdim branch, it is type-stable and fast.
A better solution might be using something like named array for each variable output.
The text was updated successfully, but these errors were encountered:
Similar issue as I had previously in Vlaisator.jl. I noticed that although accessing variables via
getvar
was tagged with return typeAny
, it is only because derived types from dictionary and anonymous functions are called; if we go on layer deeper and look at only theselectdim
branch, it is type-stable and fast.A better solution might be using something like named array for each variable output.
The text was updated successfully, but these errors were encountered: