Article View: news.software.nntp
Article #63396Re: One million new groups - what happens then ?
From: Juergen Helbing
Date: Mon, 20 Jan 2003 09:33
Date: Mon, 20 Jan 2003 09:33
27 lines
1740 bytes
1740 bytes
bugs@pu.net (Mark Hittinger) wrote: >Some uses of md5 hashes that I have seen have "truncated" or kept only >a portion of the hash in the "database" and therefore the chance of >collision in the shorter piece of hash is higher. Yes, I understand this problem. But one thing I really dont understand: Why dont such program segment use collision detection ? I did implement a hash-code myself for MsgIds into MyNews when I extended the message-list to show 100.000 to 1e6 entries. (This happens frequently on binary groups). But I am - of course - using a _collision_ flag, and whenever a collision happens then the 'fast algorithm' drops back to 'byte-compare' of the original values. I personally would _never_ implement any hashing without collision detect. But perhaps my programming skills are really outdated. (I learned such methods in the 70's - together with Pascal, Modula, Ada, ... ;-) CU -- Juergen
Technical Details
Message-ID:
<4333a.k1320l@archiver.winews.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.isc.org!sjc70.webusenet.com!news.webusenet.com!news.alt.net!usenetReferences:
<40478.h13202@archiver.winews.net> <1rd6mw2ip4.fsf@vingodur.ifi.uio.no> <4bFW9.57143$1q3.8030@sccrnsc01>Show Full Headers
Complete Article Headers
Message-ID: <4333a.k1320l@archiver.winews.net> Subject: Re: One million new groups - what happens then ? Date: Mon, 20 Jan 2003 09:33:43 +0000 From: archiver@i3w.com (Juergen Helbing) References: <40478.h13202@archiver.winews.net> <1rd6mw2ip4.fsf@vingodur.ifi.uio.no> <4bFW9.57143$1q3.8030@sccrnsc01> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.isc.org!sjc70.webusenet.com!news.webusenet.com!news.alt.net!usenet Newsgroups: news.software.nntp Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 26 X-Newsreader: MyNews