What to do with Java BigDecimal performance?

May be you should start with replacing a = (1/b) * c with a = c/b ? It’s not 10x, but still something.

If I were you, I’d create my own class Money, which would keep long dollars and long cents, and do math in it.

Leave a Comment