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
The implementation of branch on top of aggregate is nice by a logical point of view; however, aggregate is currently implemented by looking at the stack trace, which is an expensive operation.
For this reason, it makes sense to implement branch directly in the interpreter as a core construct rather than as a derived one.
FoldhoodPlus is implemented on top of foldhood: this means that the given expression is executed also for the current device, though its result is discarded in favor of the init value of the fold.
The text was updated successfully, but these errors were encountered:
branch
on top ofaggregate
is nice by a logical point of view; however,aggregate
is currently implemented by looking at the stack trace, which is an expensive operation.For this reason, it makes sense to implement branch directly in the interpreter as a core construct rather than as a derived one.
FoldhoodPlus
is implemented on top offoldhood
: this means that the given expression is executed also for the current device, though its result is discarded in favor of the init value of the fold.The text was updated successfully, but these errors were encountered: