Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joshieDo committed Sep 8, 2023
1 parent 5ea14ad commit 8c58aae
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions crates/storage/nippy-jar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,31 @@ similar and subject to changes structure:

```bash
--
# Each column has its own compression dictionary
row0: col0 | ... | colN
...
rowN: col0 | ... | colN
--
```

`.idx`

```bash
--
# tx/block hash check
Option<bloomfilter<_>>
--
# tx/block hash -> Index position
Option<PHF<_>>
--
OffsetList [ offset_0, ..., offset_N , ...]
# For TxHash at offset_0, PHF will return a "random" integer. This is an index of an index.
PHFList [ posN, ... , pos0 = OffsetList(0), ... ,posX ]
--
Option<CompressionDictCol0>
...
Option<CompressionDictColN>
--
# Each column has its own compression dictionary
row0: col0 | ... | colN
...
rowN: col0 | ... | colN
--
```

`.idx`

```bash
OffsetList [ offset_0, ..., offset_N , ...]
```


0 comments on commit 8c58aae

Please sign in to comment.