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
|
dec.sig = dec.sig * 10 + dec.last_digit; |
We need to revise this SIMD path to make it more efficient.
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 inzmij/zmij.cc
Line 1254 in 7c97c16
We need to revise this SIMD path to make it more efficient.