package index
All checked builds pass 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.7.0.tbz
sha256=7874a6b68888ca3af1cc252262a1bbad46388b78ecfa9e20109d874d28c02cb2
sha512=c4e9baf0cadd1fe6d8b675e841bb8e1e5401d987b69e94efd62185d5f669d37da56bd94e65e455a8f82de0468cb8a48d314668dde9eabe53ec0e7263d4dd33bb
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)"
>