Skip to content

Optimization for Eq Array#177

Merged
garyb merged 1 commit intopurescript:masterfrom
jazmit:patch-3
Jun 7, 2018
Merged

Optimization for Eq Array#177
garyb merged 1 commit intopurescript:masterfrom
jazmit:patch-3

Conversation

@jazmit
Copy link

@jazmit jazmit commented Jun 6, 2018

Running Eq on large nested data structures can be expensive (think rose trees with 10^5 items), so checking for reference equality before traversing the array can result in some significant gains.

Running Eq on large nested data structures can be expensive (think rose trees with 10^5 items), so checking for reference equality before traversing the array can result in some significant gains.
@garyb
Copy link
Member

garyb commented Jun 7, 2018

Thanks!

@garyb garyb merged commit 3fcaeb9 into purescript:master Jun 7, 2018
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.

5 participants