Skip to content

Commit cbabf9a

Browse files
committed
Use xxhash64 instead of sha256 for hash algorithm
1 parent 03e92c3 commit cbabf9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/render-cached-plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ renderCachedPlot <- function(expr,
436436
height <- fitDims$height
437437
pixelratio <- session$clientData$pixelratio %OR% 1
438438

439-
key <- digest::digest(list(outputName, userCacheKeyResult, width, height, res, pixelratio), "sha256")
439+
key <- digest::digest(list(outputName, userCacheKeyResult, width, height, res, pixelratio), "xxhash64")
440440

441441
plotObj <- cache$get(key)
442442

0 commit comments

Comments
 (0)