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 generic chunked fill and copy algorithms #1564

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

RobinTF
Copy link
Collaborator

@RobinTF RobinTF commented Oct 18, 2024

These are replacements for std::ranges::fill and std::ranges::copy that perform their respective loops in chunks of a dedicated size. After each chunk, a user-defined callback is invoked, which can be used e.g. for cancellation checks.
The helpers are used within the UNION and BIND operations to add more cancellation checks there.

@joka921 joka921 merged commit bf36257 into ad-freiburg:master Oct 18, 2024
18 checks passed
@RobinTF RobinTF deleted the generic-chunked-algorithms branch October 18, 2024 18:26
@sparql-conformance
Copy link

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.

2 participants