- From: Martin Nilsson <nilsson@opera.com>
- Date: Sat, 09 Feb 2013 15:12:32 +0100
- To: ietf-http-wg@w3.org
On Sat, 09 Feb 2013 14:33:41 +0100, Willy Tarreau <w@1wt.eu> wrote: > Also, processing it is > particularly inefficient as you have to parse each and every byte to find > a length, making string comparisons quite slow. You don't need to know the length in characters to compare strings. Just comparing byte on byte works fine. Null is encoded the same, and byte zero only appear as null in UTF-8, so strlen works fine. So far strings are hollerith encoded in HTTP/2, so it should be a moot point anyway. /Martin Nilsson -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Received on Saturday, 9 February 2013 14:12:57 UTC