Skip to content

Minor cleanup for day 1 #11

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mlodato517
Copy link
Owner

This Commit

  • Adds a comment for the match in process_floor
  • uses find_map instead of find().1

Why?
I was just looking through the repo and saw these and figure they'd be
cleaner with the new function and comment. I checked the benchmarks and
there was no change in runtime for find_map + bool.then.

**This Commit**

- Adds a comment for the match in `process_floor`
- uses `find_map` instead of `find().1`

**Why?**
I was just looking through the repo and saw these and figure they'd be
cleaner with the new function and comment. I checked the benchmarks and
there was no change in runtime for `find_map` + `bool.then`.
@mlodato517 mlodato517 self-assigned this Mar 12, 2022
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