Miniboxing is a program transformation that improves the performance of Scala generics when used with primitive types. It can speed up generic collections by factors between 1.5x and 22x, while maintaining bytecode duplication to a minimum. You can easily add miniboxing to your sbt project:
miniboxing-runtime 0.4-M3
Group ID:
org.scala-miniboxing.plugins
Artifact ID:
miniboxing-runtime_2.11
Version:
0.4-M3
Release Date:
May 20, 2015
Licenses:
Files:
Full Scala Version:
2.11.6
Developers:
libraryDependencies += "org.scala-miniboxing.plugins" %% "miniboxing-runtime" % "0.4-M3"
ivy"org.scala-miniboxing.plugins::miniboxing-runtime:0.4-M3"
//> using dep "org.scala-miniboxing.plugins::miniboxing-runtime:0.4-M3"
import $ivy.`org.scala-miniboxing.plugins::miniboxing-runtime:0.4-M3`
<dependency> <groupId>org.scala-miniboxing.plugins</groupId> <artifactId>miniboxing-runtime_2.11</artifactId> <version>0.4-M3</version> </dependency>
compile group: 'org.scala-miniboxing.plugins', name: 'miniboxing-runtime_2.11', version: '0.4-M3'