Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ks6g10
· 4mo ago · 0 comments
Unfortunately some exchanges (twse) uses packed BCD encoding.
Comments
[–]
Joker_vD
4mo ago
BCD allows for
insanely
fast conversion to and from decimal string representation. And if doing arithmetic in it is only slightly worse than doing it in binary... it may actually be faster on the whole for some workloads.
[–]
gmueckl
4mo ago
But those instructions were dropped in 64 bit mode.