new udev rule matching engine committed
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