Open raminammour opened 5 years ago
dSS[2].m
gets lowered to getproperty(dSS[2], :m)
, where the first argument is necessarily fetched before evaluation. Perhaps there could be a macro that could evaluate an expression on the host and return the result? Eg. @fetchfromhost dSS[2].m
that would wrap the expression in something like getm
.
Hello,
Consider the following example:
As you see, the whole struct gets serialized (7 mb) and then
v
(small vector) can be accessed. Is there a way to implement this so thatdS[2].v
is sent without the wholestruct
.Put in another way, is there a generic way to have
dS[i].m
mean something likegetm(dS,i)
where:Is this possible? Is it a reasonable feature to ask for :)?
Thanks!