Convert Config::fetch_string to use a regexp, rather than index and substr.
authorNicholas Clark <nick@ccl4.org>
Sat, 19 Jun 2010 20:27:45 +0000 (21:27 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 23 Jun 2010 07:44:42 +0000 (08:44 +0100)
commitb46acf92a1bd83c189c4290dd3ae7f5bfa32d2a7
tree3b398faef889f415b60199d3d927c31cb08ac643
parentf0a8fd683c572d39673f9b0a22fd4919c1bed5a7
Convert Config::fetch_string to use a regexp, rather than index and substr.

For this platform, cachegrind reckons a 0.5% reduction in L1 cache refs and
0.5% reduction in instructions executed, which whilst small, is a step in the
right direction.
configpm