Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unfortunately some exchanges (twse) uses packed BCD encoding.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: