package ppx_minidebug

  1. Overview
  2. Docs

Module Minidebug_db.ValueInternSource

Content-addressed value storage with O(1) deduplication

Sourcetype t

Value interning context

Sourceval create : Sqlite3.db -> t

Create a new value interning context

Sourceval hash_value : string -> string

Hash a string value for content addressing

Sourceval intern : t -> value_type:string -> string -> int

Intern a value and return its value_id

Sourceval finalize : t -> unit

Finalize prepared statements