> Date: Thu, 16 Dec 2010 02:39:47 +0200 > From: Vladimir Kirillov <pro...@uaoug.org.ua> > > Hello, t...@! > > The pci/usb (and others) known_{products,vendors} generated from > {pci,usb}devs are really big and scanning them is not so efficient. > > I took the reyk@'s bsearch() implementation found in ieee80211 code > and moved it to libkern. > > To sort tables I've rewritten the devlist2h from awk to perl, since > it can sort :). Imho, this implementation is a bit cleaner and > does not have that big license header. > > Since usb/pci is only supported so far, I hope if you like it I can > continue replacing the rest of autoconf matching goo to bsearch > > What do you think?
My initial reaction is that you're trying to optimize something that isn't worth optimizing.