moodymudskipper / tricks

An Addin to Easily Program and Trigger Actions
14 stars 1 forks source link

caching `selection_is_*` conditions ? #4

Closed moodymudskipper closed 2 years ago

moodymudskipper commented 3 years ago

since some condition checks might be used is several conditions, we might want to cache them if they're slow, e.g. checking if a package is on CRAN.

maybe memoising the functions could work, but then the selection needs to be an argument

moodymudskipper commented 3 years ago

The functions need to be memoised when the addin is triggered, OR be memoised from the start and the addin resets them (maybe easier!)

moodymudskipper commented 2 years ago

They've been memorised for some time now

github-actions[bot] commented 1 year ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.