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

Add some inlines to flatten #175

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Add some inlines to flatten #175

merged 1 commit into from
Oct 4, 2023

Conversation

KodrAus
Copy link
Collaborator

@KodrAus KodrAus commented Oct 4, 2023

Fairly small change, but reducing the impact of flatten as much as possible is worthwhile.

Before:

test flatten_60   ... bench:          19 ns/iter (+/- 0)
test unflatten_60 ... bench:           0 ns/iter (+/- 0)

After:

test flatten_60   ... bench:          15 ns/iter (+/- 2)
test unflatten_60 ... bench:           1 ns/iter (+/- 0)

@KodrAus KodrAus merged commit 0983067 into main Oct 4, 2023
42 checks passed
@KodrAus KodrAus deleted the chore/flatten-inlines branch October 4, 2023 01:39
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.

1 participant