Skip to content

Commit

Permalink
Replace mmap with file io in merkle tree hash calculation (#3547)
Browse files Browse the repository at this point in the history
* replace mmap

* remove copy

* comments

* pr: cap max file read size to 64M

* pr: share the hash computation from slice with from vec

* pr: return slice of hash in get_data api

* use expect for hash slice read
  • Loading branch information
HaoranYi authored Feb 4, 2025
1 parent 64b6160 commit cb62abf
Showing 1 changed file with 217 additions and 179 deletions.
Loading

0 comments on commit cb62abf

Please sign in to comment.