From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C4DEE3858D32; Sat, 11 Feb 2023 17:04:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4DEE3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676135086; bh=D7+6hReOB7SVaUW0RxTfaOf0mKpDIXXFoHiu+9syoXo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=INl2IZbam6SRH44pWQky26nTCJGqGoZlXKxK1v/XGT9DZA3aQ33SLRZCpahoyxvq2 pAUDfzs+7FGEMAipawe7bmyrT+dcJX+ufcMDbQR+lydDAcTkBROo7kgZ/WwQpBHHGY yr43J6IJBoKqRcw4m8KyQO46AYjKlMta6baBSSwo= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK Date: Sat, 11 Feb 2023 17:04:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: performance X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D16998 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #2 from Tom Tromey --- > But .gdb_index knows exactly which symtab(s) to look in. ... > So why not just always use .gdb_index for GLOBAL_BLOCK lookups? It makes sense to me. Basically we'd want to extend the "quick" functionality to some symtab-level operations as well, or maybe just change the lookup code and ensure that the quick methods also know to iterate over already-expanded symtabs. --=20 You are receiving this mail because: You are on the CC list for the bug.=