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

Support taccumulate #129

Open
anicusan opened this issue Nov 10, 2024 · 1 comment
Open

Support taccumulate #129

anicusan opened this issue Nov 10, 2024 · 1 comment

Comments

@anicusan
Copy link

Most of the higher-order iterator functions in Base (sum, prod, any, all, count, minimum, maximum, etc.) can be implemented on top of tmapreduce. The only other fundamental building block that would be useful is taccumulate for cumsum and the like - are there any plans for this?

@MasonProtter
Copy link
Member

Parallelizing accumulate is typically very difficult, since the later results require the earlier results. It's possible with lots of re-associations and some clever two-pass algorithms.

If you'd like to take a shot at implementing it, I'd try and take a look and give advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants