Minor optimization to number encoding. CPAN v0.48