-
Notifications
You must be signed in to change notification settings - Fork 154
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
Greater[5] Or Equal[5]
results in drastic performance problems with unsafeFrom
#1161
Comments
I suspect that calculating |
That was quick! |
It seems @fthomas suspicions are correct. This does it:
|
Oh Would something like this work?
|
Yes, I think so. But since this is |
Oh good point. I realised that still isn't going to cut it. There isn't one for This seems to fix it:
|
It probably makes sense to add these two instances for On a side note: The built-in |
Agreed. I found this example/problem in a different library and I'm putting in a PR to do just that. 😄 |
Running the following takes more than a minute to complete for me:
However, the following is fine:
Here is a scastie demonstrating the problem:
https://scastie.scala-lang.org/oGPpPS59RcG8ejX9dSDhhQ
It just gets
closed
, but when run locally it will eventually return.I have tried refined versions
0.9.29
through0.10.2
and scala versions2.13.8
and3.2.2
The text was updated successfully, but these errors were encountered: