From 3cc2f7cb4d7697df61e6212bbd658f186cdf2b34 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:19:35 -0500 Subject: 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 --- (limited to 'opkg.c') -- cgit v0.9.1