From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: new udev rule matching engine committed
Date: Wed, 22 Oct 2008 22:39:57 +0000 [thread overview]
Message-ID: <1224715197.2677.2.camel@nga.site> (raw)
I've committed a new rule matching engine, which uses a key list instead
of a rules array.
The in-memory rule array of a common desktop distro's rules set
(including the "insane" sane-backend rules) took 1.2 MB, while the key
list takes only 170 kB.
old: 1151088 bytes
new: 109232 bytes tokens (6827 * 16 bytes), 71302 bytes buffer
Also the limits of one instance of key type, and 5 instances of ATTR and
ENV, per rule are gone.
Thanks,
Kay
reply other threads:[~2008-10-22 22:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1224715197.2677.2.camel@nga.site \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox