| layout | default |
|---|---|
| title | Miniboxing Plugin for Scala |
| short_title | Welcome |
| comments | off |
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.
<iframe width="800px" height="400px" src="//www.youtube.com/embed/NshGH7qlgEg" frameborder="0" allowfullscreen></iframe>
Performance The miniboxing plugin improves generics performance and has been tested on linked lists, vectors, streams, image processing and other examples.
Advisories Miniboxing issues actionable performance advisories while compiling the code, so programmers know what they need to do to improve the performance of their code.
Integration The miniboxing transformation reuses the machinery in the Scala compiler, so it can easily and reliably integrate with existing tools, such as the Scala IDE and the IntelliJ Scala plugin.
{% include status.md %}