Skip to content

Conversation

@mistydemeo
Copy link
Contributor

Just a minor tweak - when reading this I found the repeated indexing and a in b checks harder to read, so I figured safely grabbing the data at the start would let us shorten the rest of the logic.

@mistydemeo mistydemeo force-pushed the misty/simplify_mime_type_check branch from 0327bed to f07a9d2 Compare July 18, 2025 20:52
Pre-fetching this with .get() calls lets us skip some repetitive
indexing.
@mistydemeo mistydemeo force-pushed the misty/simplify_mime_type_check branch from f07a9d2 to 8f5d0ba Compare July 18, 2025 20:55
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