Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Mar 20, 2024
1 parent f1283c8 commit e8c6ef5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kr2r/src/compact_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,10 @@ where
// unsafe { std::slice::from_raw_parts(mmap.as_ptr().add(16) as *const B, capacity) };

let page = read_page_from_file(chunk_file1)?;
println!("page {:?}", page.size);
let next_page = read_pageptr_from_file(chunk_file2)?;

println!("next page {:?}", page.size);
// let file1 = OpenOptions::new().read(true).open(&chunk_file1)?;
// let mmap1 = unsafe { MmapOptions::new().map(&file1)? };

Expand Down

0 comments on commit e8c6ef5

Please sign in to comment.