Jump to content
         

TmesisBob

Member
  • Content Count

    2
  • Joined

  • Last Visited

Community Reputation

0 Clean Slate

About TmesisBob

  • Rank
    Freshman
  1. helping hands needed

    The hash set has a lookup complexity of O(1), so having a larger set to look through will not have a huge effect on the comparison. It would be best to have the list to search as big as possible, and the split up the looping through the combinations into separate threads. Ideally you would make a hash set of all the several billion combinations, and search it for each of the 30k items, but I suspect that memory might become an issue there!
  2. helping hands needed

    Using a HashSet instead of an array of strings vastly improves performance. Use unit instead of string as the key as well. The hash set will have to be initialised from reading the values from a file though, but this makes it easier to search for new terms.
×