Mikhail Gusarov wrote:
Twas brillig at 14:26:32 08.06.2010 UTC-07 when [email protected] did gyre and gimble: RB> I'd like advice/opinions on which of these might be the most eagerly RB> embraced (or at any rate, least vigorously opposed :-) ), or whether RB> there's a better idea I've overlooked. The Right Thing that immediately comes to mind is fixing libpciaccess internals to be able to read data from saner (indexed, string-compressed, with common strings merged for different PCI ids) file format to avoid problem with linear search altogether. Given simplicity of data format it should be nearly trivial task.
Another thought would be to cache the strings related to the devices attached to the system and save them some place. Only need to go to big database if new device is attached. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
