-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use exception catching, possibly unnecessary performance overhead #387
Comments
@fengyizhu What does this graph show, and is there a test suite you can share to replicate? @andi-huber What was the |
Indeed, producing stacktraces just to do a check is costly. I merged #388 see also https://stackoverflow.com/questions/1078953/check-if-bigdecimal-is-an-integer-in-java |
@andi-huber @keilw Is there a plan and time to release a revised version? |
The scope is here: https://github.com/unitsofmeasurement/indriya/milestone/10 but there's not a concrete time. |
tech.units.indriya.function.DefaultNumberSystem#narrow
why not just return BigDecimal?
The text was updated successfully, but these errors were encountered: