Closed IceDragon200 closed 9 months ago
This PR removes calls to Mint's original downcase_ascii/1 which was found to be slower than Elixir's stock downcase with the :ascii option.
downcase_ascii/1
:ascii
Closes #420
I unrolled HTTP1.Parser.header_name/1's atom case for clarity, as inline pipes on the same line can be hard to read, I hope this is okay.
I'll fix the warnings locally. Thanks @IceDragon200 💟
Summary
This PR removes calls to Mint's original
downcase_ascii/1
which was found to be slower than Elixir's stock downcase with the:ascii
option.Related
Closes #420
Notes
I unrolled HTTP1.Parser.header_name/1's atom case for clarity, as inline pipes on the same line can be hard to read, I hope this is okay.