Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Apr 18, 2024
1 parent e1bafa6 commit 6834009
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jsonpak/private/rawops_sorted.nim
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ proc rawDeduplicate*(tree: var JsonTree, n: NodePos, parents: var seq[PatchPos])

proc rawHash*(tree: JsonTree, n: NodePos): Hash =
privateAccess(JsonTree)
# iff we knew that BiTable.vals doesn't contain
# stale entries we could significantly speed this up.
var h = Hash(0)
let L = span(tree, n.int)
for i in 0..<L:
Expand Down

0 comments on commit 6834009

Please sign in to comment.