Remix.run Logo
magicalhippo 6 hours ago

What about reasonably fast but smallest code, for running on a microcontroller? Anything signifactly better in terms of compiled size (including lookups)?

vitaut 2 hours ago | parent [-]

If you compress the table (see my earlier comment) and use plain Schubfach then you can get really small binary size and decent perf. IIRC Dragonbox with the compressed table was ~30% slower which is a reasonable price to pay and still faster than most algorithms including Ryu.

adgjlsfhk1 2 hours ago | parent [-]

When 30% is only ~3-6 ns it definitely seems worthwhile.