Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Good hash for pointers Date: Thu, 23 May 2024 15:49:42 -0700 Organization: A noiseless patient Spider Lines: 7 Message-ID: <86v834i1o9.fsf@linuxsc.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 24 May 2024 00:49:45 +0200 (CEST) Injection-Info: dont-email.me; posting-host="4e2ccf3374e48a9f13e87ba250cb95a8"; logging-data="2074852"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DK4KpuHe4ugfwJwDONN8R9SV6YXGdBDQ=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:2EO8iO88ofAGZtFttgPhFbzFi/M= sha1:LzxxnvVMlSVrud6Z61ulvFImEoE= Xref: csiph.com comp.lang.c:384928 Malcolm McLean 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?