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

Iteration over subsets of OrderedSet #117

Open
termi-official opened this issue Sep 4, 2024 · 0 comments
Open

Iteration over subsets of OrderedSet #117

termi-official opened this issue Sep 4, 2024 · 0 comments

Comments

@termi-official
Copy link

In my application I split up ordered sets into N chunks of approximately same size with ranges. Each of these chunks is then passed into one a single worker (e.g. thread) as an index to some task item. Now I have the issue that getindex has been deprecated and I can not figure how to reproduce this logic without the function (under the constraint that the access for each item should be at most $O(log(N))$ and non-allocating). Could someone give me a hint how the functionality above is supposed to be reproduced without using getindex?

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

No branches or pull requests

1 participant