[xml] xmlXPathEvalExpression slow

Title: xmlXPathEvalExpression slow


Im using xmlXPathEvalExpression (in libxml) to select individual elements in an XML file, the problem is that it seems to be relatively slow, at least on the files im using (10mb+ in size). By slow i mean around 0.25sec for each search, which is way too slow when I have to do thousands of these searches on each file. Is there any way to optimize these searches for big files?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]