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 <tomyth...@gmail.com> 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en