From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 5B6083858C52 for ; Mon, 4 Apr 2022 07:29:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5B6083858C52 Received: by mail-wr1-x42c.google.com with SMTP id b19so13002940wrh.11 for ; Mon, 04 Apr 2022 00:29:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2fNTRMc+1qlYr20jHakIBiPSU1znBnbqxDsxObj2srw=; b=ZoLzS2V8cHu9SsU0K7Uu02/jmghtRHOyFNhENgs+Dym7bqlDRqwCCN/z+AjII6FOs1 UA7VsJBEzZCFQPtEiNoAdp7wfK4bOzUdHq6QPoPmhs3tTjqTgLUptj/uSOuLy+2SBJX5 OJVH6BCyzl51GlFZ0lmgF0Wokz6WjWxheiET1XIhYCV8EWWB6iRCdETlLTsq3PoeuQrU kY/qcxdegJDIV/DaBoBsxaNgznbKxH35a0UIcPpBcoTmf5SQ2E1quXlfVAjiCJkKjFi7 +Uh3Ss4mo2+m/M0pUa/yUMKss3pb7wBeT/sJG1i5PJ7tt/kpLGZMrSRZjFtZz5gwKdcA 0rGQ== X-Gm-Message-State: AOAM5306Uc+TVjYljy6bQb+3YmIkBb4RrD1HCEB1iqALBn+XvID5x/sY hEqBG6xDw5WRsQyaRW6h0cIEFg== X-Google-Smtp-Source: ABdhPJxhOmYfXhpOkdGDPznR42ve5TAdg6Uz/GP0+ndJYKuBU3a/RLHXNBblI9kRh6uuedIV0Uvwog== X-Received: by 2002:a05:6000:178c:b0:204:670:5b20 with SMTP id e12-20020a056000178c00b0020406705b20mr16536837wrg.637.1649057352974; Mon, 04 Apr 2022 00:29:12 -0700 (PDT) Received: from google.com (110.121.148.146.bc.googleusercontent.com. [146.148.121.110]) by smtp.gmail.com with ESMTPSA id a11-20020a056000188b00b00204109f7826sm9356747wri.28.2022.04.04.00.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 00:29:12 -0700 (PDT) Date: Mon, 4 Apr 2022 09:29:08 +0200 From: "Steinar H. Gunderson" To: Alan Modra Cc: Jan Beulich , sesse@chromium.org, binutils@sourceware.org, Nick Clifton Subject: Re: [PATCH] Add a trie to map quickly from address range to compilation unit. Message-ID: References: <63191455-2374-5db9-f55e-ddf794c7d88e@redhat.com> <49afcaee-63a8-2d18-64d1-0fc0abfe4669@suse.com> <6c45bf8e-00e5-f7c6-025b-e4b9c3832da3@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-18.7 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2022 07:29:16 -0000 On Sun, Apr 03, 2022 at 09:09:58PM +0930, Alan Modra wrote: >> I'm fine with just removing the range handling logic if that's what you >> decide. :-) Let me know when/if a patch goes in, and I'll send a v3 that >> is adjusted. > Let's do that. I'll commit the patch I've already posted. I've rebased my patch; sending shortly. (It's less tested than the previous versions, but should be simpler.) I'm not entirely sure whether I still need the unit->mark part, though; would it perhaps now always find something on the first unit that matches from the trie? /* Steinar */