Re: [libvirt] [PATCHv2 1/3] hvsupport: use a regex instead of XML::XPath

2016-07-20 Thread Peter Krempa
On Tue, Jul 19, 2016 at 18:55:52 +0200, Ján Tomko wrote: > When generating the hvsupport.html.in file, we parse the -api.xml > files generated by apibuild.py to know in which HTML file the API > function is. > > Doing an XPath query for every single 'function' element in the > file is inefficient.

[libvirt] [PATCHv2 1/3] hvsupport: use a regex instead of XML::XPath

2016-07-19 Thread Ján Tomko
When generating the hvsupport.html.in file, we parse the -api.xml files generated by apibuild.py to know in which HTML file the API function is. Doing an XPath query for every single 'function' element in the file is inefficient. Since the XML file is generated by another of our build scripts (ap