miniboxing / miniboxing-plugin

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:
http://scala-miniboxing.org
Other
121 stars 17 forks source link

Issue #211 - Avoid BigDecimal deprication warnings #213

Closed milosstojanovic closed 9 years ago

milosstojanovic commented 9 years ago

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.

VladUreche commented 9 years ago

Thanks @milosstojanovic! LGTM