package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A hash-heap is a combination of a heap and a hashtbl that supports constant time lookup, and log(n) time removal and replacement of elements in addition to the normal heap operations.

module Hashtbl : sig ... end

Core_hashtbl is a reimplementation of the standard MoreLabels.Hashtbl. Its worst case time complexity is O(log(N)) for lookups and additions, unlike the standard MoreLabels.Hashtbl, which is O(N).

module Heap = Heap.Removable
module type Key = Hash_heap.Key
module type S = Hash_heap.S
module Make (Key : Hash_heap.Key) : sig ... end
OCaml

Innovation. Community. Security.