parany

Parallelize any computation
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library parany
Module Parany . Parmap
val parmap : ?init:( int -> unit ) -> ?finalize:( unit -> unit ) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> ( 'a -> 'b ) -> 'a list -> 'b list

Parallel List.map

val parmapi : ?init:( int -> unit ) -> ?finalize:( unit -> unit ) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> ( int -> 'a -> 'b ) -> 'a list -> 'b list

Parallel List.mapi

val pariter : ?init:( int -> unit ) -> ?finalize:( unit -> unit ) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> ( 'a -> unit ) -> 'a list -> unit

Parallel List.iter

val parfold : ?init:( int -> unit ) -> ?finalize:( unit -> unit ) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> ( 'a -> 'b ) -> ( 'acc -> 'b -> 'acc ) -> 'acc -> 'a list -> 'acc

Parallel List.fold

val array_parmap : ?init:( int -> unit ) -> ?finalize:( unit -> unit ) -> ?core_pin:bool -> int -> ( 'a -> 'b ) -> 'b -> 'a array -> 'b array

Parallel Array.map; array input order is always preserved.