WebAssembly / compilation-hints

Compilation Hints
Other
0 stars 0 forks source link

Use float8/float16 for call frequencies? #6

Open ecmziegler opened 1 month ago

ecmziegler commented 1 month ago

Should we be using float8/float16 for expressing call frequencies? We currently use integers to express percents or an even more complicated logarithmic transformation.

Standardized small floats would suffice and be properly standardized, but perhaps make the hints even less readable when expressed as hex strings. On the other hand, values like -INF and +INF would nicely allow expressing special values.