Wait, didn't we answer this already? Try a database first and profile it, if you can't use that, then use a Trie.
kris On Mon, Dec 19, 2011 at 11:27 PM, tomyth <[email protected]> wrote: > Hi! > I'm working on a dict app on android, > I need to search a list of words(about 500-600 thousand words) in file > to find the word. > It took me about 10-20 seconds to search the word. How can I improve > the search speed? > > > Thanks to all! > > tomyth_android > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

