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:
apply(x: Float) method of BigDecimal is deprecated and that was the reason for warnings. I added the explicit conversion of Float with .toDouble to avoid them.
apply(x: Float)
method of BigDecimal is deprecated and that was the reason for warnings. I added the explicit conversion of Float with .toDouble to avoid them.