commit | c1a675c80c69decadb736b245f0366f93a94a462 | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Fri Oct 29 14:01:12 2010 -0700 |
committer | Jesse Wilson <jessewilson@google.com> | Fri Oct 29 15:12:53 2010 -0700 |
tree | 7b0cf0203b1b628d59b6900a001cdb74a190f975 | |
parent | a75ae27f71c41509a8924493ce3b50d331d0d3cc [diff] |
Remove the tree map in the HTTP headers. This map is intended make looking up headers faster, but for real-world sized datasets we spend more energy maintaining the map than we save from using it. I benchmarked the Android Market's HTTP connections' header use and it's significantly faster to skip the map: run us linear runtime map+list 413.1 ============================== list only 65.8 ==== Change-Id: I5b8fef6f999eb1bfe53eea2781f63cdd1002a273