This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Bcache'ing as a speedup
- To: gdb at sourceware dot cygnus dot com
- Subject: Bcache'ing as a speedup
- From: dan at cgsoftware dot com (Daniel Berlin)
- Date: 13 Apr 2000 11:19:28 -0400
- Reply-To: dan at cgsoftware dot com
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