[m-rev.] diff: add two string hash functions

Paul Bone pbone at csse.unimelb.edu.au
Sat Nov 13 10:42:34 AEDT 2010


On Sat, Nov 13, 2010 at 12:43:56AM +1100, Zoltan Somogyi wrote:
> On 12-Nov-2010, Paul Bone <pbone at csse.unimelb.edu.au> wrote:
> > Is this for strings that are constant and known at compile time?
> 
> Yes.
> 
> > If so is it
> > not better to generate perfect has functions for each switch in the way
> > gperf(1) does?
> 
> Yes, but that would be much more work.
> 

Fair enough :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20101113/cb0e41c5/attachment.sig>


More information about the reviews mailing list