mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat(db): derive Compact codec (#177)
This commit is contained in:
@@ -8,7 +8,7 @@ use sucds::{EliasFano, Searial};
|
||||
|
||||
/// Uses EliasFano to hold a list of integers. It provides really good compression with the
|
||||
/// capability to access its elements without decoding it.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Default)]
|
||||
pub struct IntegerList(pub EliasFano);
|
||||
|
||||
impl Deref for IntegerList {
|
||||
|
||||
Reference in New Issue
Block a user