Re: [libvirt] [PATCH 3/4] hvsupport: construct regex up front

2016-07-15 Thread John Ferlan
On 06/29/2016 02:40 AM, Ján Tomko wrote: > This lets perl cache the regex. > > Even though there are only eight groups, the speedup is more than that. eight groups? I'm glad someone knows what they are... > --- > docs/hvsupport.pl | 33 - > 1 file changed, 16

[libvirt] [PATCH 3/4] hvsupport: construct regex up front

2016-06-29 Thread Ján Tomko
This lets perl cache the regex. Even though there are only eight groups, the speedup is more than that. --- docs/hvsupport.pl | 33 - 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/docs/hvsupport.pl b/docs/hvsupport.pl index 80a6f80..31821ad