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

Replace some uses of FOO[Length(FOO)] by Last(FOO) #5655

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

fingolfin
Copy link
Member

Strictly speaking this is probably a (super tiny) de-optimization
of the affected code. Hence I tried to restrict it to places that
are not "hot loops" and where I think the gain in readability over
the minuscule loss is negligible.

Strictly speaking this is probably a (super tiny) de-optimization
of the affected code. Hence I tried to restrict it to places that
are not "hot loops" and where I think the gain in readability over
the minuscule loss is negligible.
@fingolfin fingolfin added topic: library release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Feb 26, 2024
Copy link
Contributor

@james-d-mitchell james-d-mitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@fingolfin fingolfin merged commit d448ce5 into gap-system:master Feb 27, 2024
25 checks passed
@fingolfin fingolfin deleted the mh/Last branch February 27, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants