Remix.run Logo
lxgr 6 hours ago

> The only real correct solution here is to send mantissa and exponent as two separate integers.

That’s essentially the same thing as a String-serialized big decimal, just less readable, no?

gmm1990 4 hours ago | parent [-]

That’s quite a bit slower to process. At least if you’re converting to integers to do the calculations and the calculations would be quite a bit slower if you kept the big decimal type

lxgr 4 hours ago | parent [-]

True, but this is usually your least concern when you're dealing with monetary amounts/math.

mnahkies 3 hours ago | parent [-]

They specifically mentioned HFT so I suspect they care a lot about processing speed