Deutsch   English   Français   Italiano  
<86r0dshysc.fsf@linuxsc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups: comp.lang.c
Subject: Re: Good hash for pointers
Date: Thu, 23 May 2024 16:52:03 -0700
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <86r0dshysc.fsf@linuxsc.com>
References: <v2n88p$1nlcc$1@dont-email.me> <86v834i1o9.fsf@linuxsc.com> <v2okbv$1vp4n$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Fri, 24 May 2024 01:52:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4e2ccf3374e48a9f13e87ba250cb95a8";
	logging-data="2091468"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/BgrphSugA5tzhgJRoMcHCl5LOYz5bLPk="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:E5N3W4I6TiFiT2EQtblAMFcKXnY=
	sha1:w3O21MWROms7F9Xqbw9Uj+P9tB4=
Bytes: 1488

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> On 23/05/2024 23:49, Tim Rentsch wrote:
>
>> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>>
>>> What is a good hash function for pointers to use in portable
>>> ANSI C?
>>
>> I have a preliminary question.  Do you really mean ANSI C, or
>> is C99 acceptable?
>
> C89 is better.
> But the pass has been sold.

I'm not asking which you think is better.  I'm asking about
what your requirements are.