We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For typical hand coded patterns, compare performance of functionally equivalent linq-cpp queries.
For example, compare the performance of A and B below:
A
B
std::vector<int> x = ...; // A std::vector<int> y(x.size()); std::transform(x.begin(), x.end(), y.begin(), [](int n){ return n * n; }); std::remove_if(y.begin(), y.end(), [](int n){ return (n % 3) != 0; }); // B auto y = ix::from(x.begin(), x.end()) .select([](int n){ return n * n; }) .where([](int n){ return (n % 3) == 0; }) .to_vector();
The text was updated successfully, but these errors were encountered:
timothy-shields
No branches or pull requests
For typical hand coded patterns, compare performance of functionally equivalent linq-cpp queries.
For example, compare the performance of
A
andB
below:The text was updated successfully, but these errors were encountered: