From 65a85183e99cdebcb85ef8c98b94bf83038d4c87 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 18 Nov 2024 02:10:18 +0100 Subject: [PATCH] update README --- README.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index b0ac050..7ef0143 100644 --- a/README.rst +++ b/README.rst @@ -98,8 +98,11 @@ Example code # HashTableNT mapping 256bit key [bytes] --> Chunk value [namedtuple] Chunk = namedtuple("Chunk", ["refcount", "size"]) + ChunkFormat = namedtuple("ChunkFormat", ["refcount", "size"]) + chunk_format = ChunkFormat(refcount="I", size="I") + # 256bit (32Byte) key, 2x 32bit (4Byte) values - ht = HashTableNT(key_size=32, value_format="