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
I am not sure exactly how styler works but I think the styling of R6 classes could be sped up and feels a little slow sometimes. I guess the problem is that it all happens in one big R6(...) function call, causing styler to restyle the whole R6 class each time it is formatted. Maybe caching could be somehow be improved here?
The text was updated successfully, but these errors were encountered:
sebffischer
changed the title
Styling of R6 Classes is quite slow
Styling of R6 Classes feels a little slow
Apr 27, 2022
Caching happens on two levels as explained in the vignette. I agree that it migth be slow for very big objects for that reason. R6 classes might be a good starting point for optimizing, but I think this issue is fundamentally #558, so I suggest to close it as a duplicate.
I am not sure exactly how styler works but I think the styling of R6 classes could be sped up and feels a little slow sometimes. I guess the problem is that it all happens in one big
R6(...)
function call, causing styler to restyle the whole R6 class each time it is formatted. Maybe caching could be somehow be improved here?The text was updated successfully, but these errors were encountered: