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
testFun <- function(x) {Sys.sleep(3); cat(x);x}
# testFun will be executed and saved to cacheRepo
tmp <- cache(cacheRepo, testFun, "Say hallo!")
# testFun execution will be loaded from repository
tmp <- cache(cacheRepo, testFun, "Say hallo!")
I'm expecting that a second call will be completed instantly, but in fact it takes 3 seconds.
Seems that problem is in saveToRepo(). It doesn't save following tag: paste0("cacheId:", outputHash)
anymore
The text was updated successfully, but these errors were encountered:
gsenseless
pushed a commit
to gsenseless/misc
that referenced
this issue
Mar 7, 2018
Try the latest commit (v2.3.1)
Looks like is it somehow related to bytecompiler, Ive removed attributes from the function and looks like it is working now.
slightly modified example:
I'm expecting that a second call will be completed instantly, but in fact it takes 3 seconds.
Seems that problem is in saveToRepo(). It doesn't save following tag:
paste0("cacheId:", outputHash)
anymore
The text was updated successfully, but these errors were encountered: