public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/25132] New: Calculate die_ref_hash lazily
@ 2019-01-01  0:00 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25132

            Bug ID: 25132
           Summary: Calculate die_ref_hash lazily
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

Idea for optimization.

We compare dies for equality if the die_ref_hash matches.

However, it may not be necessary to calculate the die_ref_hash for all dies.
If the die_hash for two dies doesn't match, we don't need to calculate the
die_ref_hash for those.

This won't work when f.i. collapsing dies, since we need to keep the dies
around.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-25 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [Bug default/25132] New: Calculate die_ref_hash lazily vries at gcc dot gnu.org

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).