From: Tom Tromey <tromey@adacore.com>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v3] Speed up lookup of "type_specific_data"
Date: Tue, 19 Mar 2024 11:45:58 -0600 [thread overview]
Message-ID: <87frwmglnt.fsf@tromey.com> (raw)
In-Reply-To: <20240215160838.3999663-1-tromey@adacore.com> (Tom Tromey's message of "Thu, 15 Feb 2024 09:08:38 -0700")
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:
Tom> I noticed that "info locals" on a certain large Ada program was very
Tom> slow. I tracked this down to ada_get_tsd_type expanding nearly every
Tom> CU in the program.
Tom> This patch fixes the problem by changing this code to use the more
Tom> efficient lookup_transparent_type which, unlike the Ada-specific
Tom> lookup functions, does not try to find all matching instances.
I'm checking this in.
Tom
next prev parent reply other threads:[~2024-03-19 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 16:08 Tom Tromey
2024-03-19 17:45 ` Tom Tromey [this message]
2024-03-20 10:28 ` Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frwmglnt.fsf@tromey.com \
--to=tromey@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).