K
kids_pro
Hi there,
When class construct it read content from XML file and store it in
ArrayList.
In my class I had implement Search method using BinarySearch behind.
I want to implement another Method XmlSearch() to search direct from XML
file.
<dictionary>
<lookup key="animal"/>
<lookup key="apple"/>
.... more records
</dictionary>
I had read MSDN and be able to implement both search method.
But the question is which method faster?
Any suggestion on these two method?
Cheers,
Kids
When class construct it read content from XML file and store it in
ArrayList.
In my class I had implement Search method using BinarySearch behind.
I want to implement another Method XmlSearch() to search direct from XML
file.
<dictionary>
<lookup key="animal"/>
<lookup key="apple"/>
.... more records
</dictionary>
I had read MSDN and be able to implement both search method.
But the question is which method faster?
Any suggestion on these two method?
Cheers,
Kids