Miniboxing is a lightweight approach to optimizing 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.