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

Zoltan Somogyi zs at csse.unimelb.edu.au
Sat Nov 13 00:43:56 AEDT 2010


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.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list