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
There are several ways to produce values in Metal. The implementations of Value in metal are:
CoreValue
NotAValue
and ParseValue, which is also a CoreValue
The ValueExpression interface uses list semantics, and applies the conversion to every value and creates a CoreValue from it. However, in combination with nth(), only one value is used, so we only need to create this single CoreValue instead.
So the question is: can we delay the creation of CoreValues when we actually need it?
@rdvdijk and @Carly-1, this is the implementation of the DelayedValue as discussed last week. See if you can find an example in your codebase that may benefit from this.
There are several ways to produce values in Metal. The implementations of Value in metal are:
The ValueExpression interface uses list semantics, and applies the conversion to every value and creates a CoreValue from it. However, in combination with
nth()
, only one value is used, so we only need to create this single CoreValue instead.So the question is: can we delay the creation of CoreValues when we actually need it?
The text was updated successfully, but these errors were encountered: