From: Mike Stump <mrs@windriver.com>
To: gcc@gcc.gnu.org, intmktg@CAM.ORG
Subject: Re: gcc's symbol table
Date: Wed, 02 Aug 2000 19:34:00 -0000 [thread overview]
Message-ID: <200008030234.TAA10185@kankakee.wrs.com> (raw)
> Date: Wed, 2 Aug 2000 22:06:17 -0400 (EDT)
> From: Marc Tardif <intmktg@CAM.ORG>
> To: gcc@gcc.gnu.org
> I've heard that gcc uses gperf to create a perfect hash function for
> the symbol table. Once a key is hashed and retrieved from the table,
> is it necessary to strcmp in order to verify that the key matches
> the symbol?
Yes, it performs a strcmp after. If you would like to see it, check
out:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/~checkout~/egcs/gcc/cp/hash.h?rev=1.12&content-type=text/plain
Hope this helps.
next reply other threads:[~2000-08-02 19:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-02 19:34 Mike Stump [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-08-02 19:07 Marc Tardif
2000-08-03 4:55 ` Falk Hueffner
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=200008030234.TAA10185@kankakee.wrs.com \
--to=mrs@windriver.com \
--cc=gcc@gcc.gnu.org \
--cc=intmktg@CAM.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).