3 ms·
For those who like me aren't familiar with the concept of "float boxing", I think this is the same thing: https://www.lexifi.com/ocaml/unboxed-floats-ocaml/ htt
by simias 6y ago
For those who like me aren't familiar with the concept of "float boxing", I think this is the same thing: https://www.lexifi.com/ocaml/unboxed-floats-ocaml/ https://www.lexifi.com/ocaml/unboxed-floats-ocaml/
Basically if I understand correctly this removes an indirection when using floats, probably reducing the memory footprint and improving performance.
- bjoli 6y agoFor computations using a lot of float arithmetic it removes boxing and unboxing. Say: (fl+ (fl* f1 f2) (fl* fl3 fl4)). This has to unbox fl1 fl2 fl3 and fl4, but racket 7.7 immediately boxes the result of fl* only to unbox it again for fl+. This new racket does not.