Updated intro to match Java version

This commit is contained in:
Erik C. Thauvin 2023-01-23 21:44:47 -08:00
parent 13c09989b2
commit 34b69a7d1f

View file

@ -25,12 +25,14 @@ binary octet, however their unreserved set of characters differs and
`application/x-www-form-urlencoded` adds conversion of space to `+`, `application/x-www-form-urlencoded` adds conversion of space to `+`,
that has the potential to be misunderstood. that has the potential to be misunderstood.
This library encodes with rules that will be decoded correctly in either case. This class encodes with rules that will be decoded correctly in either case.
Additionally, this library allocates no memory when encoding isn't needed and Additionally, this library allocates no memory when encoding isn't needed and
does the work in a single pass without multiple loops. Both of these does the work in a single pass without multiple loops. Both of these
optimizations have a significantly beneficial impact on performance of encoding optimizations have a significantly beneficial impact on performance of encoding
compared to other solutions like the standard `URLEncoder` in the JDK. compared to other solutions like the standard `URLEncoder` in the JDK or
`UriUtils` in Spring.
## Examples (TL;DR) ## Examples (TL;DR)