public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Bcache'ing as a speedup
@ 2000-04-13  8:19 Daniel Berlin
  2000-04-26 14:51 ` Jim Blandy
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Berlin @ 2000-04-13  8:19 UTC (permalink / raw)
  To: gdb

Ya know, i was thinking (yes, dangerous, i know).
If we bcache every symbol/psymbol/minsym name, and i mean literally
every single one, couldn't we just do simple pointer compares (IE
a==b) rather than strcmp (assuming we weren't doing a strcmp_Iw, which
obviously would still need to be done), since if they were the same
string, they would *have* to be pointing to the same memory?

Wouldn't this be a pretty large speed win?
--Dan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-05  0:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-13  8:19 Bcache'ing as a speedup Daniel Berlin
2000-04-26 14:51 ` Jim Blandy
2000-04-26 16:00   ` Tom Tromey
2001-09-05  0:12     ` Tom Tromey

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).