Learn all about miniboxing in a 5 minute demo.

Welcome





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.





Why use Miniboxing?

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.

Disclaimer