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

Fix/reduce spread reduce #316

Merged
merged 4 commits into from
Dec 22, 2021
Merged

Fix/reduce spread reduce #316

merged 4 commits into from
Dec 22, 2021

Conversation

spersico
Copy link
Member

@spersico spersico commented Dec 22, 2021

Inspired by this article, this PR removes most if not all reduce...spread usage.

It would be nice to have performance tests, to test how much the performance improved, but it's late, it's an order of magnitude faster (O(n^2) to O(n)), and I don't wanna code that RN.

@spersico spersico added enhancement New feature or request refactor Moves or improves code labels Dec 22, 2021
@spersico spersico self-assigned this Dec 22, 2021
@joelalejandro joelalejandro added this to the 1.2.0 milestone Dec 22, 2021
@joelalejandro joelalejandro merged commit b320636 into main Dec 22, 2021
@joelalejandro joelalejandro deleted the fix/reduceSpreadReduce branch December 22, 2021 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Moves or improves code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants