From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Snyder To: jtc@redback.com Cc: Daniel Berlin , Michael Elizabeth Chastain , gdb-patches@sources.redhat.com Subject: Re: [PATCH] New C++ abstraction patch Date: Wed, 21 Feb 2001 15:21:00 -0000 Message-id: <3A944D62.1AB25957@cygnus.com> References: <200102210442.UAA21584@bosch.cygnus.com> <3A941CBE.F1604F19@cygnus.com> <5mg0h7u12i.fsf@jtc.redback.com> X-SW-Source: 2001-02/msg00435.html "J.T. Conklin" wrote: > > >>>>> "Michael" == Michael Snyder 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.