Hacker News new | ask | show | jobs
by ks6g10 23 days ago
Unfortunately some exchanges (twse) uses packed BCD encoding.
1 comments

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.
But those instructions were dropped in 64 bit mode.