Video: Premature Optimization in Scala
Erik Osheim, Senior R&D Engineer at Precog, delivers a talk focusing on low-level optimization in Scala and strategies to help the JVM run faster. Sounds simple enough, but as Erik mentions it often gets more complicated.
This talk, for the Northeast Scala Symposium, provides tips to avoid "premature optimization." John address, and creates solutions for, many issues that can arise. Some of these topics include:
Specialization successes (& failures)
Boxing & GC pressure
Reading Java Bytecode
Profiling & benchmarking