[Home] [By Thread] [By Date] [Recent Entries]
Hi Michael, Michael Kay <mike@s...> writes: > Yes, I'll be happy to run this. 25seconds for a simple search of 800Kb > sounds very slow indeed. Well, it is 100 searches. > One question though, it's not clear to me whether you are measuring > the time taken to load the XML, or only the time taken to query it. Only the time it takes to query it (100 times). The XML document is pre-loaded in both tests. > My instinct would be to have the query return a sequence of nodes to > the calling application, and have the calling application extract the > attributes that it wants from those nodes. That sounds fair. I just did what seemed easiest with the API I had. If you think that returning something like DOM nodes would be better, then I see no problem with it since that would result in the equivalent functionality that is probably also less complex. Boris -- Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



