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

refactor(open-element-stack): Use sets everywhere #1086

Merged
merged 1 commit into from
Dec 23, 2023
Merged

Conversation

fb55
Copy link
Collaborator

@fb55 fb55 commented Dec 20, 2023

Replaces the array searches and map lookups with sets and switch statements.

Also replaces the isNumberedHeader helper function with a set.

Replaces the array searches and map lookups with sets and switch statements.

Also replaces the `isNumberedHeader` helper function with a set.
Copy link
Collaborator

@43081j 43081j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice idea, always good to see a bunch of deleted code :D

@fb55 fb55 merged commit db9072d into master Dec 23, 2023
7 checks passed
@fb55 fb55 deleted the element-stack-sets branch December 23, 2023 08:28
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.

2 participants