Packages

p

com.github.takezoe

parallelizer

package parallelizer

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. parallelizer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ParallelSeq[T] extends AnyRef

Value Members

  1. object Parallel

    Provides tiny utilities for parallelization.

    Provides tiny utilities for parallelization.

    For example, each element of source is proceeded in parallel in the following example.

    val source: Seq[Int] = Seq(1, 2, 3)
    val result: Seq[Int] = Parallelizer.run(source){ i =>
      ...
    }

    Parallelism can be specified as a second parameter. The default value is a number of available processors.

    val result: Seq[Int] = Parallelizer.run(source, 100){ i =>
      ...
    }

Inherited from AnyRef

Inherited from Any

Ungrouped