This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Make completions almost instantaneous
- To: dberlin at redhat dot com
- Subject: Re: [PATCH] Make completions almost instantaneous
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Fri, 30 Mar 2001 10:21:00 -0500 (EST)
- CC: gdb-patches at sources dot redhat dot com
- References: <Pine.LNX.4.33.0103300144290.20894-100000@www.cgsoftware.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Fri, 30 Mar 2001 04:09:08 -0500 (EST)
> From: Daniel Berlin <dberlin@redhat.com>
>
> All this patch does is remove code.
>
> Remember kids, premature optimization is the root of all evil.
I tried this patch, and all I can say is WOW! "b TAB" while debugging
Emacs (6.6K symbols) used to take 15 seconds, now it takes 2; the same
while debugging GDB (10K symbols) used to take 30 seconds, now it
takes 3.
Thanks! I was always annoyed by this, but never had time to dig into
it.
> Since it's unclear to me whether this is an obvious fix, i'll wait for
> approval from Elena or Jim.
Yes, please, please, pretty please, approve this!