Re: [libvirt] [PATCHv2 2/3] hvsupport: construct the group regex upfront

2016-07-20 Thread Peter Krempa
On Tue, Jul 19, 2016 at 18:55:53 +0200, Ján Tomko wrote: > The %groups hash contains all the driver types (e.g. > virHypervisorDriver or virSecretDriver). > > When searching for all the APIs that are implemented by a driver > of that specific driver type, we keep iterating over the %groups > hash

[libvirt] [PATCHv2 2/3] hvsupport: construct the group regex upfront

2016-07-19 Thread Ján Tomko
The %groups hash contains all the driver types (e.g. virHypervisorDriver or virSecretDriver). When searching for all the APIs that are implemented by a driver of that specific driver type, we keep iterating over the %groups hash on every line we look at, then matching against the driver type. Thi