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

Fast Metal #41

Merged
merged 9 commits into from
Aug 18, 2016
Merged

Fast Metal #41

merged 9 commits into from
Aug 18, 2016

Conversation

brunocodutra
Copy link
Owner

Now that the API of Metal is mostly stable, it is time to revisit #14.

@brunocodutra
Copy link
Owner Author

brunocodutra commented Aug 18, 2016

As it turns out, implementing fast tracking for metal::join, metal::reverse, metal::fold_left and metal::fold_right, along with a minor tweaking of a handful of other core algorithms, the overall performance of Metal improves dramatically.

@brunocodutra
Copy link
Owner Author

count_if

count_if

filter

filter

find_if

find_if

fold_left

fold_left

replace_if

replace_if

reverse

reverse

results look promising, what do you think @porkybrain and @ericniebler?

MSVC 14 has a hard time dealing with non-type template parameters and
doesn't implement relaxed constexpr, so we are forced to work around it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant