Skip to content

Optimize fixed format #124

Description

@vitaut

Switching to a different scaling (10**(-dec_exp-1)) and splitting the last decimal digit gave a significant speed up for the exponential format. However, the fixed format is currently suboptimal because we recombine the top 15-16 digits with the last digit for compatibility with the old SIMD code in

zmij/zmij.cc

Line 1254 in 7c97c16

dec.sig = dec.sig * 10 + dec.last_digit;

We need to revise this SIMD path to make it more efficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions