Build Your Own Redis with C/C++ eBook·Paperback
⟵ prev Contents next ⟶

ℹ️ New Book: Build Your Own Database


#pragma once

#include <stddef.h>
#include <stdint.h>

struct HeapItem {
    uint64_t val = 0;
    size_t *ref = NULL;

void heap_update(HeapItem *a, size_t pos, size_t len);

( Report an Error | Ask a Question) @

See also: offers “Build Your Own X” courses in many programming languages.
Including Redis, Git, SQLite, Docker, and more.
Check it out

⟵ prev Contents next ⟶