ocaml-base-compiler
Official release 4.14.0
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package ocaml-base-compiler
-
dynlink
-
ocamlbytecomp
-
ocamlcommon
-
ocamlmiddleend
-
ocamloptcomp
-
odoc_info
-
stdlib
-
str
-
unix
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val make : unit -> ( 'k, 'd ) t
Create a new bucket.
val add : ( 'k, 'd ) t -> 'k array -> 'd -> unit
Add an ephemeron to the bucket.
val remove : ( 'k, 'd ) t -> 'k array -> unit
remove b k
removes from b
the most-recently added ephemeron with keys k
, or does nothing if there is no such ephemeron.
val find : ( 'k, 'd ) t -> 'k array -> 'd option
Returns the data of the most-recently added ephemeron with the given keys, or None
if there is no such ephemeron.
val length : ( 'k, 'd ) t -> int
Returns an upper bound on the length of the bucket.
val clear : ( 'k, 'd ) t -> unit
Remove all ephemerons from the bucket.
ON THIS PAGE
No table of contents