This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] New C++ abstraction patch


"J.T. Conklin" wrote:
> 
> >>>>> "Michael" == Michael Snyder <msnyder@cygnus.com> writes:
> Michael> When you speak of a speed hit, are you speaking of
> Michael> symbol-file-load time, or expression evaluation time?  I
> Michael> think expression evaluation is far less important to optimize
> Michael> for speed than symbol loading.  Lots of people complain about
> Michael> the time gdb takes to start up on a new symbol file, while
> Michael> very few (that I'm aware of) complain about the performance
> Michael> during expression evaluation.
> 
> Note that expression evaluation time isn't usually an issue for
> interactive use, but it becomes an issue in user defined functions
> that grovel around complicated data structures, etc.

Sure -- but not nearly so much an issue as in symbol loading, where
large symbol files may take minutes to load.  And symbol loading must
be done for (nearly) every debugging session, whereas user defined
functions that grovel around complicated data structures are the exception.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]