returneksibir/yakala — comment on commit d11a69bf12a4cce94f5b7110ca7c69490f2d0390
File:  line 0
By sardok:

Heyo cem,
1 - you should use rich string class' hash function. what you did is not a hash function im sorry, it is possible that different string names may hit same hash number easily. and internal hash() function maybe faster, we should consider it.
2 - you are saving string's hash when you dont hit line 30, so after toLowerCase(), its hash may be changed.
3- at line 31. you check for url_ , also im not sure how this 'contains()' works for set. it seems like line 31 only searches for member of array, not in set().
4 - that array of set is fine. but its implementation could be better. i've done similar thing before, please take a look at crawler.scala in actor-design-alt-ref-db branch.