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
It would be nice to opt into hash environments for R6 classes. (Maybe with a new hash argument in R6Class() which forwards to new.env().)
In targets, there are few R6 objects in a given R session (so not much memory overhead) but the members of those objects are accessed frequently. In fact, targets defines several important R6 classes whose members are also R6 classes, and repeatedly digging for a nested member creates overhead. Un-nesting this structure to eliminate the overhead is not feasible for the conceptual layout and internal design of targets. crew faces similar challenges (to a lesser degree).
The text was updated successfully, but these errors were encountered:
It would be nice to opt into hash environments for
R6
classes. (Maybe with a newhash
argument inR6Class()
which forwards tonew.env()
.)In
targets
, there are fewR6
objects in a given R session (so not much memory overhead) but the members of those objects are accessed frequently. In fact,targets
defines several importantR6
classes whose members are alsoR6
classes, and repeatedly digging for a nested member creates overhead. Un-nesting this structure to eliminate the overhead is not feasible for the conceptual layout and internal design oftargets
.crew
faces similar challenges (to a lesser degree).The text was updated successfully, but these errors were encountered: