Open behdad opened 1 month ago
Please explain the benefit of using float here, rather than int16 or int32.
Please explain the benefit of using float here, rather than int16 or int32.
Good point. I'll measure the runtime and report.
Please explain the benefit of using float here, rather than int16 or int32.
Good point. I'll measure the runtime and report.
I tried int32.
I can measure about 6% speedup using floats. This is because the numbers need to be converted to float and multiplied by a float and added; I also have SIMD codepath for SSE and NEON for the float, but those seem to have very small effect.
The following takes more spec, but is faster to parse, than the existing format1: