[algogeeks] Re: how the interlancers are working

2009-01-29 Thread abdul . habra
Eclipse is an open source java IDE, just download it and look. You can also search for other open source IDEs. Happy hunting. Abdul On Jan 29, 2009, at 4:50 PM, Miroslav Balaz gpsla...@googlemail.com wrote: I think it is secret, because the general idea is simple, but implementation is

[algogeeks] Re: Judging whether a URL exists among millions, insert if not

2008-08-21 Thread Abdul Habra
codes or put into Lucene based Index and search from there. Either you cache or index it using Lucene based indexing you need to synch it with database. Regards, /Ashish On Thu, Aug 21, 2008 at 1:10 AM, Abdul Habra [EMAIL PROTECTED]wrote: I agree with Ashish. Use hashCode. Here is my

[algogeeks] Re: Judging whether a URL exists among millions, insert if not

2008-08-20 Thread Abdul Habra
I agree with Ashish. Use hashCode. Here is my suggestion: Add a new column to your db table, lets call it HASH_CODE whenever you add a url row, populate the HASH_CODE with the hashcode of the URL. When you want to search for the existance of a URL: select count(*) from table where HASH_CODE=hc