From: dewar@gnat.com
To: davek-ml@ntlworld.com, gcc@gcc.gnu.org
Subject: Re: Hashing of "switch/case" selections
Date: Thu, 28 Dec 2000 21:10:00 -0000 [thread overview]
Message-ID: <20001229051009.0F5FB34D83@nile.gnat.com> (raw)
<< I think Mr. Huffman and Mr. Kern might disagree..... surely a
.ZIP file is a unique hash of a given input, and one that has a
very useful difference from that original input. Of course, IANAQCS.
>>
A zip file is simply a 1-1 mapping that may (but obviously does not always
) have a length less than the original file -- obviously if the zip file
is shorter than the original file in some cases, it will be longer inother
cases.
No one would call this a hash function in my experience. As I say, the
central point of a hash function is that it performs a many to one
mapping, that's what makes it interesting.
To call all 1-1 mappings hash functions is truly odd terminology :-)
next reply other threads:[~2000-12-28 21:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-28 21:10 dewar [this message]
2000-12-28 22:41 ` Dave Korn
-- strict thread matches above, loose matches on Subject: below --
2000-12-28 7:19 Robert Dewar
2000-12-28 7:15 Robert Dewar
2000-12-28 21:06 ` Dave Korn
2000-12-27 20:41 Andy Walker
2001-01-01 14:30 ` Nix
2001-01-04 1:39 ` Zack Weinberg
2001-01-05 10:54 ` Michael Meissner
2001-01-07 18:37 ` Andy Walker
2001-01-07 18:12 ` Andy Walker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001229051009.0F5FB34D83@nile.gnat.com \
--to=dewar@gnat.com \
--cc=davek-ml@ntlworld.com \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).