package index
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A platform-agnostic multi-level index for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
index-1.6.0.tbz
sha256=5e0c1f6cbd6e485cbbf2344c8f76de8a7869155355ae6edd5550c88da0661594
sha512=613fa206d1124b34259421f4ea978ce4e9404d78af3a687c1e406d88a5d481bd51465fafae58da9eb3e6a0b5408118b8a7dfe1fbb05ce8fed4b8b0a572beb99b
doc/index/Index/index.html
Module IndexSource
Index
Index is a scalable implementation of persistent indices in OCaml.
Index provides the standard key-value interface: find, mem and replace. It requires three IO instances:
- A `log` IO containing all of the recently-added bindings; this is also kept in memory.
- When the `log` IO is full, it is merged into the `index` IO. Search is done first in `log` then in `index`, which makes recently added bindings search faster.
- A `lock` IO to ensure safe concurrent access.
Platform dependencies required by Make.
Signatures and implementations of caches. Make requires a cache in order to provide instance sharing.
The exception raised when a write operation is attempted on a read_only index.
The exception is raised when a sync operation is attempted on a read-write index.
The exception raised when any operation is attempted on a closed index, except for close, which is idempotent.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>