Miniboxing is a lightweight approach to specializing generic classes in the Scala compiler. It revisits the current specialization transformation, but makes different choices aimed at reducing the bytecode without sacrificing execution speed.