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

Do you know what BCD is? If you did, it becomes pretty obvious why BCD is significantly slower than fixed point integers.


I know what BCD is, I know they are slower.

What I was asking for is, when they said it was just "better", are they specifically saying "CPU computations is a bottleneck, thus BCD is not as good as fixed point integers"? Which is fine if it is, I just would like that to be stated clearly. In my line of work, BCD CPU is NEVER the bottleneck, it never will be, and it is likely that the time it takes for a CPU to compute the BCD operation it will still be stalling on pref etching the next instruction from main memory anyway.

But maybe, for their specific ledger specific database, it is better. If so, show the benchmark, and how it impacted their specific code. But don't expect me to just take fewer CPU instructions for math operations to directly translate to more desirable.




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

Search: