Skip to content

Commit

Permalink
use constant to refer to bytes offset
Browse files Browse the repository at this point in the history
  • Loading branch information
jauhararifin committed Aug 6, 2024
1 parent 9b7987c commit e88d024
Show file tree
Hide file tree
Showing 2 changed files with 253 additions and 138 deletions.
19 changes: 19 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
// TODO: implement deletion
// TODO: implement WAL rolling
// TODO: use pointer swizzling for better buffer pool
// TODO: add fast path for adding entry to a btree
// TODO: batch commit logs together
// TODO: remove txid in some wal entries
// TODO: use binary search to search in nodes
// TODO: just remove the btree lock altogether. There is no point using it if we only have one
// write txn at a time.
// TODO: use better eviction policy
// TODO: check WAL entry's integrity when iterating
// TODO: add fast path for the pager
// TODO: reduce syscall for writing files. We can use vectorized syscall
// TODO: improve checkpoint: don't exclusively lock a page if it's not dirty and need to be
// flushed.
// TODO: merge operations on the files to reduce the WAL size
// TODO: remove byte copy during rearrangement
// TODO: remove allocation during btree split
// TODO: handle checkpoint error in the background thread
// TODO: don't use anyhow for the error handling
// TODO: setup CI

Expand Down
Loading

0 comments on commit e88d024

Please sign in to comment.