Skip to content

⚡ Improve compile time for a common transform use case #121

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

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Jun 28, 2024

cib uses transform on a single tuple adding an index. The single-arg transform overload did not allow indexing, so this was using the slower-to-compile more general form of transform.

This change saves ~30% of the transform time for the cib benchmark.

`cib` uses transform on a single tuple adding an index. The single-arg transform
overload did not allow indexing, so this was using the slower-to-compile more
general form of transform.

This change saves ~30% of the transform time for the cib benchmark.
Copy link
Contributor

@lukevalenty lukevalenty left a comment

Choose a reason for hiding this comment

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

That's a significant improvement!

@bdeane-intel
Copy link
Contributor

It's about 6% of the overall benchmark time. Worth having!

@bdeane-intel bdeane-intel merged commit 6d74bbb into intel:main Jun 28, 2024
31 checks passed
@elbeno elbeno deleted the improve-tuple-transform branch June 28, 2024 17:27
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.

3 participants