Use xxhash64 instead of sha256 for hash algorithm

This commit is contained in:
Winston Chang
2018-08-16 15:54:54 -05:00
parent 03e92c3336
commit cbabf9a2a3

View File

@@ -436,7 +436,7 @@ renderCachedPlot <- function(expr,
height <- fitDims$height
pixelratio <- session$clientData$pixelratio %OR% 1
key <- digest::digest(list(outputName, userCacheKeyResult, width, height, res, pixelratio), "sha256")
key <- digest::digest(list(outputName, userCacheKeyResult, width, height, res, pixelratio), "xxhash64")
plotObj <- cache$get(key)