From 6ffd1666992d54ffaec757cd2e42e1fd6052f349 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 10 Jan 2018 22:27:55 -0800 Subject: small cleanups --- TODO | 2 ++ notes/spec_todo.txt | 7 ------- notes/typos.txt | 4 ---- 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 notes/typos.txt diff --git a/TODO b/TODO index c702002..84c0413 100644 --- a/TODO +++ b/TODO @@ -24,6 +24,7 @@ performance: - keep an LRU cache of SLEEP reads Backburner: +- try switching to Coded{Input/Output}Stream for fewer copies/allocations - API to link and run from, eg, python - uTP transport - in-memory storage backend @@ -60,3 +61,4 @@ Backburner: - debug commands with hex i/o: https://github.com/ia0/data-encoding - sendfile() or splice() for disk-to-disk copying? +- Rust FS API example: https://docs.rs/zbox/0.1.3/zbox/ diff --git a/notes/spec_todo.txt b/notes/spec_todo.txt index 64c7c33..216e1af 100644 --- a/notes/spec_todo.txt +++ b/notes/spec_todo.txt @@ -1,11 +1,4 @@ -"You can use the byteOffset property in the Stat meta- data object to seek into -the right position in the content for the start of this chunk." => unnecessary, -node.js specific? - -"If you are sharing multiple hypercores on the same port you can use this event -to wait for the remote peer to indicate which hypercore they are interested inj" - Extra things learned: - metadata secret keys live in ~/.dat/secret_keys/... - metadata.ogd indicates "original dat", meaning secret key should be present diff --git a/notes/typos.txt b/notes/typos.txt deleted file mode 100644 index 2198381..0000000 --- a/notes/typos.txt +++ /dev/null @@ -1,4 +0,0 @@ - -"check if all bites in the 2 bytes" - -"compresses nicely as its all contiguous ones on disk" -- cgit v1.2.3