summaryrefslogtreecommitdiff
path: root/udev/lib/test-libudev.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2008-09-28 12:02:44 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-09-28 14:11:47 +0200
commit41b7a00922bdb1a501cbf2e39282fe64bb94cb6d (patch)
tree2c212da9aa9a2e773a344f11fb9b0de2889aed3f /udev/lib/test-libudev.c
parent669ed8675f7a8bc3987ad501d11f7623b70698e6 (diff)
avoid repeated scans for goto targets (udev_iter_find_label)
The scans are now performed up-front at parse-time, instead of being repeated for each event at run-time. Cachegrind reports a 5% reduction in cpu cycles (excluding the time spent in-kernel).
Diffstat (limited to 'udev/lib/test-libudev.c')
0 files changed, 0 insertions, 0 deletions