Skip to content

Commit

Permalink
Use rlang::hash, it's much faster
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheng5 committed Dec 5, 2024
1 parent c875853 commit 7efbba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/conditions.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ getCallStackDigest <- function(callStack, warn = FALSE) {
warning("Call stack doesn't have a cached digest; expensively computing one now")
}

digest::digest(getCallNames(callStack), algo = "md5")
rlang::hash(getCallNames(callStack))
}

saveCallStackDigest <- function(callStack) {
Expand Down

0 comments on commit 7efbba0

Please sign in to comment.