Re: JSON headers


>> You also avoid the O(N^2) search operation to see if split headers
>> happened in the first place.
>There are many well-known data structures that avoid O(n^2).

Yes, and they're probably all overkill in the typical N<20 case of
HTTP headers...

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

Received on Monday, 11 July 2016 10:55:48 UTC