Skip to content

Instantly share code, notes, and snippets.

View jimleroyer's full-sized avatar
🏊

Jimmy Royer jimleroyer

🏊
View GitHub Profile
import scala.annotation.tailrec
/**
* To compile and look at the generated Java bytecode of this class, execute
* these commands at the command-line prompt:
*
* > scalac tailrec.scala
* > javap -p -c Test$.class
*
* This is of value to observe the differences in the generated bytecode by