opkg: apply "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbedded
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 04:19:35 +0000 (04:19 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 04:19:35 +0000 (04:19 +0000)
commit3cc2f7cb4d7697df61e6212bbd658f186cdf2b34
tree60da8fe1947d427b9b30ef4bff4b44bda0e4d993
parentc930268b850e90686eee25b9379a1e854fca1abc
opkg: apply "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbedded

  pkg_parse: Optimize inefficient parsing.  Instead of expensively probing all
  fields in row, dispatch based on the first letter of the field. Tests show ~12
  times reduction in number of calls to low-level parsing functions.

git-svn-id: http://opkg.googlecode.com/svn/trunk@17 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
pkg_parse.c