Skip to content
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

Remove useless INLINE on compareLength for lazy bytestrings. #705

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

AndreasPK
Copy link
Contributor

The function is self-recursive so will never inline. I also don't see the benefit of the INLINE pragma in the first place.

Fixes #704.

The function is self-recursive so will never inline.
I also don't see the benefit of the INLINE pragma in the first place.

Fixes haskell#704.
@AndreasPK
Copy link
Contributor Author

At a glance CI failures seem unrelated to the actual change.

@Bodigrim Bodigrim requested a review from clyring March 3, 2025 19:05
@clyring clyring merged commit c63dd72 into haskell:master Mar 4, 2025
25 of 29 checks passed
@clyring
Copy link
Member

clyring commented Mar 4, 2025

At a glance CI failures seem unrelated to the actual change.

The FreeBSD failure is some new metadata bitrot, certainly unrelated indeed. I'm not sure what's going on with the s390x job. For now I'm hoping it just goes away on its own.

@clyring
Copy link
Member

clyring commented Mar 4, 2025

The error message in the s390x job on the master branch indicates that the failure is happening while pre-processing Data/ByteString/Internal/Type.hs, which is upstream of the location of this change. So it's definitely unrelated as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

INLINE pragma on compareLength seems useless.
3 participants