]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r246134 ...
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Mar 2013 16:50:01 +0000 (16:50 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Mar 2013 16:50:01 +0000 (16:50 +0000)
commite37464eadc3bff01178c6dc8dfa7b56232405141
tree886e023bc6d096b312b0a194c92682eee1cea3b7
parentc43097b5a33d10d3656aadbd560b63c2d07ad73c
MFC r246134 ...

Improve devd startup time, by tweaking some string handling routines that are
heavily used when parsing config files.  Mostly these changes avoid making
temporary copies of the strings, and avoid doing byte at a time append
operations, on the most-used code path.

On a 1.2 GHz ARM processor this reduces the time to parse the config files
from 13 to 6 seconds.

git-svn-id: svn://svn.freebsd.org/base/stable/9@247803 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/devd/devd.cc
sbin/devd/devd.hh