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

Clean up dedupe to better match other entrypoints #360

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

jonkoops
Copy link
Collaborator

@jonkoops jonkoops commented Jan 8, 2024

Cleans up the code for the 'dedupe' variant to better match the code-style of the other entrypoints. This removes the immediately invoked function expression that was used to prevent variables from leaking into the global scope, as this is no longer possible now that this code is contained in a module.

This also sorts some methods and renames some variables, but otherwise doesn't touch the code, leading to similar performance to what we had before.

@jonkoops jonkoops self-assigned this Jan 8, 2024
@jonkoops jonkoops merged commit 6c54e56 into main Jan 8, 2024
5 checks passed
@jonkoops jonkoops deleted the cleanup-dedupe branch January 8, 2024 19:29
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.

1 participant