Closed glureau closed 1 month ago
Thank you for the great work! If you can sort out the CLA-Assistant we could get this meged! And don't worry about signing commits, that part I can skip.
Thank you! It would be wonderful if I can get a release with that change soon. 🙏🏻 Also I'm a bit confused, I've signed it but the bot still say it's not signed :(
I think the actual commit has to have the same email address you used to sign up with GitHub, I haven't read this article but I feel it's roughly in the direction of the solution :) https://docs.github.com/en/pull-requests/committing-changes-to-your-project/troubleshooting-commits/why-are-my-commits-linked-to-the-wrong-user
Oh and for the release, as soon as we merge it should be available in snapshot version.
It required a click on "recheck" 🤦🏻 CLA SIGNED ✅
Also I was expecting CI to run tests as I don't have the best config right now to run them. Should I do something to start them on CI?
EDIT: I'll prepare another PR for replacing all other == ZERO
by isZero()
, if it make sense to you.
The CI requires manual approval for pull requests, so no worries I'll run that. As far as replacing == ZERO
with isZero
to be honest I can't answer right now, I'd have to go through the source and remind myself for that particular case. If you want to submit a pull request with that change, I think that would help have an overview of where it was used.
Also you have an extra bracket in the test that makes it not compile, I'll leave a comment to point it out.
Merged, thanks once more! Once the CI is complete it will publish new snapshot version
Deployed, your changes should be available in 0.3.10-SNAPSHOT https://oss.sonatype.org/content/repositories/snapshots/com/ionspin/kotlin/bignum/0.3.10-SNAPSHOT/
During a performance study on our app, we notice that numberOfDecimalDigits was taking a lot of time during our calculations.
I've made an adjustment and processed to a simple benchmark on a M3 Pro with this test
Initial results before the changes:
After the changes of the first commit, I obtain
Major changes:
== ZERO
which has quite a big impact (I would like to suggest a second commit where I change all of them byisZero()
which is more powerful and gives the same result if I'm right.