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

Use cats PairingHeap for PriorityQueueMonoid #1952

Open
nownikhil opened this issue Sep 24, 2021 · 0 comments
Open

Use cats PairingHeap for PriorityQueueMonoid #1952

nownikhil opened this issue Sep 24, 2021 · 0 comments

Comments

@nownikhil
Copy link
Contributor

PriorityQueue monoid mutates input collections and is not usable with BeamRunner. To mitigate that we disable map side aggregation for beam. We should try using cats PairingHeap implementation (https://github.com/typelevel/cats-collections/blob/master/core/src/main/scala/cats/collections/PairingHeap.scala)

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