<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemctl is-enabled scales poorly with many units"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72611#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemctl is-enabled scales poorly with many units"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72611">bug 72611</a>
from <span class="vcard"><a class="email" href="mailto:david@davidstrauss.net" title="David Strauss <david@davidstrauss.net>"> <span class="fn">David Strauss</span></a>
</span></b>
<pre>I submitted a patch to the mailing list that compares the basename of the
symlink with the target we're searching for. It skips the performance-killing
symlink target lookup if there's no match.
I'm sure there's another step or two we can do for more optimization, like not
iterating through *.wants directories at all. I'd also like to ensure we're
consistent in enforcing the symlink naming elsewhere in the code, but that
could be a TODO.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>