Received: (at 78340) by debbugs.gnu.org; 12 May 2025 13:53:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 09:53:14 2025 Received: from localhost ([127.0.0.1]:51621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uETak-0006RR-6B for submit <at> debbugs.gnu.org; Mon, 12 May 2025 09:53:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35988) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uETah-0006R6-1u for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 09:53:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uETab-00031t-Mz; Mon, 12 May 2025 09:53:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gIWOeya0AWbBqs9thlCcNXuJ9bbFDFRL+Ox6OTkW2Ow=; b=SWkNCRJ/Jm1f yaltbR+fUhlv4zvmc/JyramgBTceO6oQtedVUsOQWvCWB6WJKmQJD31P9VK7t6mXr7SMbwRHClg4x uoMLMwllMLNRrFCVc9On+33YEA/jQvk+Zzr7N/l9qfvCKxCuyhVnslNmRpznoHynBIfy9HrkrOYZQ V0+zEtaCSGXeYQEHyLY7wvMsRIkDYhTFbAgbl2A3KKXl88d+hjtH18bfQztP8+rXS+FUX6nvrM/ZJ ANmsIU51ktbbnOgLC4YFdjZfwCMTfCu1DRUgMfUJXmdjO2Hbs6ef2hb0I0hilPUEesseKnW5m+WT/ 8ujcM2+jz8XVZnCxdZcMSg==; Date: Mon, 12 May 2025 16:53:01 +0300 Message-Id: <86h61q6ima.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lynn Winebarger <owinebar@HIDDEN> In-Reply-To: <CAM=F=bDKNW42YEE5GgqqYh5QjnBMLOhjwYHoOK1ijQFMt2JkFA@HIDDEN> (message from Lynn Winebarger on Mon, 12 May 2025 09:42:06 -0400) Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> <86o6vy6n4u.fsf@HIDDEN> <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> <86jz6m6jjr.fsf@HIDDEN> <CAM=F=bDKNW42YEE5GgqqYh5QjnBMLOhjwYHoOK1ijQFMt2JkFA@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lynn Winebarger <owinebar@HIDDEN> > Date: Mon, 12 May 2025 09:42:06 -0400 > Cc: acorallo@HIDDEN, sunlin7@HIDDEN, 78340 <at> debbugs.gnu.org > > I don't really follow the logic on why the content hash of the current > source is required to keep emacs from *crashing*, as opposed to just > being inconsistent with the current source. How else can you make sure the native code is safe to run? E.g., what if the code calls primitives that don't exist in Emacs, or their signature is different? > That state of affairs has always been considered acceptable for byte > compiled libraries. It was a requirement to prevent crashing a session due to loading incompatible native code, because loading byte-code doesn't crash. > So, instead of checking file times, why not just put the content hash > in the .elc, and if loading the elc would be acceptable (determined by > file times), then use the value from the elc file (stored in the > comment block at the start so the Fread procedure is not required). I don't see how the time stamp of the .elc file is more reliable than of the .el file.
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 13:49:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 09:49:40 2025 Received: from localhost ([127.0.0.1]:51600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uETXI-0006Df-0Q for submit <at> debbugs.gnu.org; Mon, 12 May 2025 09:49:40 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:40795) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <owinebar@HIDDEN>) id 1uETXF-0006DP-0s for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 09:49:37 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-442ea0b3a9fso188425e9.3 for <78340 <at> debbugs.gnu.org>; Mon, 12 May 2025 06:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747057770; x=1747662570; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2sWpfjvOvIpnQodS8aBCYOzhNE8Nn3MXo6qR+qzLggE=; b=MDxtgZr6oFTpjDDZz5v1GrK0GFhZJBs9NwPKUmstJL0+ACP1ZLLcRoEw7bK2zDe2lI UfIcwm8tpFxyNSzX3ztwpHDF8FZkjyHoMWNubdbGDVPh4lnAkhjCrg4wn5//k28DOBoT j9Sqk3aYo2jHmR/hScLV9f0OsC9EBfL7RQe1hJoDCdQ9mP7fM5UdNVgt4w3JbkQG2kEZ wJ9hsKV8biqMx0iJgsa7KodAEERQRTMPBqPxzJIt39H2WS7mBBf5ll8uU43Qm4uljQSR kZf2skXR5LVmB7Fjx0x4lRIdqtedflOq6OG9VxzSMhXkdAeNhuYgXEHc3wcf39uM6nNN kFPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747057770; x=1747662570; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2sWpfjvOvIpnQodS8aBCYOzhNE8Nn3MXo6qR+qzLggE=; b=nu5jNn/uTIwQlUk4255Nh153K//6vxHzaFdrXCeo51dH4wtaVP4oQ7FiPBLqqhZJef 081Q4++548oJSc8XmCRQPAd26cwTnon2HydW7PGyNVAcweHZOM7Yi2GwecA/fIFDbmHY I89F5G2rdmyUoABwvFB1kKheaqw817HJzIsff8tYC3VpOT6lbDYR8gD+sy/rS/m4fa1e c35cYtti0fzfavGhQk0bTytQkg0eqX6A8zw4rTgjhZSDJkyiibSyfWqeQ7oiHp0xmkvx BIXnpVMkmltj+5XkShBUTWJyliZpV/ZgGbfB7w9Se4aLRml4hQHg+T5jx2iXeng/wMJU gZTQ== X-Forwarded-Encrypted: i=1; AJvYcCVQEi+3viWvBjeZoer8xX+81GChPXYhti8IvjE15g1HitYfSFQIHH25rRrgr8YhQINjAEaCwQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YypupGafUmlHodAjsLm4YHBxCQxAB4jMpr3tv6XRLzXayr2X5B+ OehriEkRgxGPo49BEvt4EMkImhwPPIWBfKEym90OR2fmGGm86jQpNjjWrFNljYb2goIkG+6YKYh 79eCzzDGhVxLICPYCk7/eguD6Qis= X-Gm-Gg: ASbGncumr4hiX83MY01/Im183i0KEhaw5TpU+tlaF7ffy/Xikx32avBfJEnE+givmoF YtSfYBipiyXCz2Xj6R06h1lueZb/v7hC2P0VFPSj8oqPMiCN+SAEEAqHdV3s8Vr8KNWQKHoO4al GY5I4uS67jShOZLynefbSyufYpqhNxu88yJaYYhr2ylThSkw== X-Google-Smtp-Source: AGHT+IH6J/AUYZvAR0cC2oZDu4E/UIFYicaXn973sinHsNShz8/tZ2PQ8Yp3e1Q5SQ105cT0yFzCi/fO/8Rp92uNLuw= X-Received: by 2002:a05:600c:3d0c:b0:43d:2318:ed7f with SMTP id 5b1f17b1804b1-442d6c36e1emr38343905e9.0.1747057770250; Mon, 12 May 2025 06:49:30 -0700 (PDT) MIME-Version: 1.0 References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> <86o6vy6n4u.fsf@HIDDEN> <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> <86jz6m6jjr.fsf@HIDDEN> <CAM=F=bDKNW42YEE5GgqqYh5QjnBMLOhjwYHoOK1ijQFMt2JkFA@HIDDEN> In-Reply-To: <CAM=F=bDKNW42YEE5GgqqYh5QjnBMLOhjwYHoOK1ijQFMt2JkFA@HIDDEN> From: Lynn Winebarger <owinebar@HIDDEN> Date: Mon, 12 May 2025 09:49:19 -0400 X-Gm-Features: AX0GCFuy83ImftVZTLJpfPm7t9Ka_FlEzMeXfoYOtPqQVtRvMCfUT0k0diVmLpE Message-ID: <CAM=F=bAS_saqpUP36n128YaJKjUj19DXVp5ktRXOXOvRH2+Y0w@HIDDEN> Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Mon, May 12, 2025 at 9:42=E2=80=AFAM Lynn Winebarger <owinebar@HIDDEN= > wrote: > > On Mon, May 12, 2025 at 9:33=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrot= e: > > > > > From: Lynn Winebarger <owinebar@HIDDEN> > > > Date: Mon, 12 May 2025 09:07:06 -0400 > > > Cc: acorallo@HIDDEN, sunlin7@HIDDEN, 78340 <at> debbugs.gnu.org > > > > > > On Mon, May 12, 2025 at 8:16=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> = wrote: > > > > > > > > > From: Lynn Winebarger <owinebar@HIDDEN> > > > > > Date: Mon, 12 May 2025 08:02:56 -0400 > > > > > Cc: Andrea Corallo <acorallo@HIDDEN>, sunlin7@HIDDEN, 78340= @debbugs.gnu.org > > > > > > > > > > If he has that many packages, his load path has hundreds of entri= es, and any preloaded library will look in > > > > > every one before finding it in the last entry ... > > > > > > > > Maybe so, but that's a separate problem. The patch submitted in th= is > > > > bug was to shortcut the hashing of the source *.el files, not to av= oid > > > > searching the extra directories. > > > > > > > > If the number of directories is the issue, then my suggestion is no= t > > > > to compile packages AOT, which AFAIU will cause all the *.eln files= to > > > > be written to a single subdirectory of the eln-cache (after > > > > compiling them the first time each one is loaded). But that is a > > > > separate issue which IMO should be discussed with Stefan and Philip= , > > > > because it's related to how third-party packages are installed and > > > > compiled. > > > > > > It's not the AOT that's the issue, it's the search for the source fil= e > > > to compute the content hash. > > > > Then the time I measured includes that, for the preloaded packages. > > That's true - he's only seeing a 20% speedup. > > I don't really follow the logic on why the content hash of the current > source is required to keep emacs from *crashing*, as opposed to just > being inconsistent with the current source. That state of affairs has > always been considered acceptable for byte compiled libraries. > So, instead of checking file times, why not just put the content hash > in the .elc, and if loading the elc would be acceptable (determined by > file times), then use the value from the elc file (stored in the > comment block at the start so the Fread procedure is not required). Or, for system-installed libraries, treat them like doc strings and store them in a file in the etc subdirectory? Those are not mutually exclusive. The first would apply to all .elns, while the second would skip the whole locate-file procedure for system libraries (if the eln is in the system directory as well). Lynn
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 13:42:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 09:42:31 2025 Received: from localhost ([127.0.0.1]:51557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uETQM-0005rJ-MA for submit <at> debbugs.gnu.org; Mon, 12 May 2025 09:42:31 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:38934) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <owinebar@HIDDEN>) id 1uETQF-0005qq-P1 for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 09:42:26 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3a0b28d9251so666016f8f.0 for <78340 <at> debbugs.gnu.org>; Mon, 12 May 2025 06:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747057337; x=1747662137; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kEZp1z2dV/o8+SEafVi3h5CuXvgktW25Xc5QtHWqq1Y=; b=UAujKJp+6u9gU6PY1vNkTEXROwjiLPxl7H4YyoKyLIvgSnHYgXDqVCRcdfsX6LkYJe /5Fwgse1EfWT/KUyEqxw24NUqDkYly1e1qpp4QlPMy3eqCvNUVeLd/bAxd3BV9Y4H3+7 9Q85zVgd5kPRRXs+cRUS/crUCP9qENcFNFiiocvU40p66zuYu8VR54fdUr7USz7adwna UI9vEh46DxHwednRjSLaMjAUHZQpwo3xpSRqiYJ61xZrPKE8gR9RSa7o/bs1cQZkLOzv tGVGv37z4PMQlHE9lMWaSmVOUSh4OTTNmNEev7mkepRp9m6tPG5uvm8PZOfh4803hhZ3 dkXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747057337; x=1747662137; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kEZp1z2dV/o8+SEafVi3h5CuXvgktW25Xc5QtHWqq1Y=; b=B1inIuzyv8pY4bi82Cqh/RDEcV71BQo/1up9GHdMw5j1FeQxA5eZw8kkyHy/0QWT6f SbTeIl73Idn3sRcg8t/fBGN0fxYcUsRPFdGQd4XXCBf8XifeUdfH7KI8+42wN8ARFG73 oskF4kKVehjipMBb9nEMYgPFhzRfvNEl/jcrkj2UR9WBZoHZQe3Wkxciv6akllImnqOr NS6sMAU5dQjgrE1VcF4u6yrsxn+TyAQYpAfQWj01NIvAwknsZCmbK6d2gCypqNWLaVHZ V2zMS9SkIKdVDbPmFX73EvHr6zyhvUEBLlj5pbJpMLeRrngJOKXqHVmcZjJNgMt/L5RT wkmg== X-Forwarded-Encrypted: i=1; AJvYcCU43Y8wFPGRjrURd44ATOpUeMGRDopd9k0tudSaBX7eBFrbeTC0BYa/r2Dv34NXy6LLlAmlUw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyoHiDcIR8dFeZlQu6M4/SdNy548ve9Q6SYj/9V4bZYpjgQ96mJ lXaIsh9o2g1MpSDeTza5TSK3HpJYdti1zoE8oqFwE7y2K0UYeN9TeJHuxp+wnzzxfO27ZAxhwGC tRoljjg44/JAGYU9gqv7UQ6Ke8/M= X-Gm-Gg: ASbGncsWurAZjC++sfYgbWVc0MAfegBbEsBTDq3qdMVbk5GFGBOlDh3YFDDFqTutp/t kXwp7ilj0v3O+DWrJmGkE3KXTimDw5ygihH1I5D9Ek5ccHw59sgoWQUaL+cU0g7qtrR5zTgkGhq ZUMa86JVH4nsjemLc4UaAUEQZJAecMo2lHpaSv63M1mPUNJQ== X-Google-Smtp-Source: AGHT+IHtFR08BxxTLEvQJjWZt74u++i+a/xoDRoaCnc4ZXyLVsjvaqrZX8+DNq5pSHa9NOKsGYFTVTGYHPZ0VsslcZo= X-Received: by 2002:a05:6000:2410:b0:39f:6ca:9250 with SMTP id ffacd0b85a97d-3a1f648244emr3241239f8f.12.1747057337203; Mon, 12 May 2025 06:42:17 -0700 (PDT) MIME-Version: 1.0 References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> <86o6vy6n4u.fsf@HIDDEN> <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> <86jz6m6jjr.fsf@HIDDEN> In-Reply-To: <86jz6m6jjr.fsf@HIDDEN> From: Lynn Winebarger <owinebar@HIDDEN> Date: Mon, 12 May 2025 09:42:06 -0400 X-Gm-Features: AX0GCFvX6ob5dQNQFuGCDOrZKUVS4eLjKwOpDJoq6OdZoXj8PgTDNlHwpjmfy90 Message-ID: <CAM=F=bDKNW42YEE5GgqqYh5QjnBMLOhjwYHoOK1ijQFMt2JkFA@HIDDEN> Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Mon, May 12, 2025 at 9:33=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > > From: Lynn Winebarger <owinebar@HIDDEN> > > Date: Mon, 12 May 2025 09:07:06 -0400 > > Cc: acorallo@HIDDEN, sunlin7@HIDDEN, 78340 <at> debbugs.gnu.org > > > > On Mon, May 12, 2025 at 8:16=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wr= ote: > > > > > > > From: Lynn Winebarger <owinebar@HIDDEN> > > > > Date: Mon, 12 May 2025 08:02:56 -0400 > > > > Cc: Andrea Corallo <acorallo@HIDDEN>, sunlin7@HIDDEN, 78340@d= ebbugs.gnu.org > > > > > > > > If he has that many packages, his load path has hundreds of entries= , and any preloaded library will look in > > > > every one before finding it in the last entry ... > > > > > > Maybe so, but that's a separate problem. The patch submitted in this > > > bug was to shortcut the hashing of the source *.el files, not to avoi= d > > > searching the extra directories. > > > > > > If the number of directories is the issue, then my suggestion is not > > > to compile packages AOT, which AFAIU will cause all the *.eln files t= o > > > be written to a single subdirectory of the eln-cache (after > > > compiling them the first time each one is loaded). But that is a > > > separate issue which IMO should be discussed with Stefan and Philip, > > > because it's related to how third-party packages are installed and > > > compiled. > > > > It's not the AOT that's the issue, it's the search for the source file > > to compute the content hash. > > Then the time I measured includes that, for the preloaded packages. That's true - he's only seeing a 20% speedup. I don't really follow the logic on why the content hash of the current source is required to keep emacs from *crashing*, as opposed to just being inconsistent with the current source. That state of affairs has always been considered acceptable for byte compiled libraries. So, instead of checking file times, why not just put the content hash in the .elc, and if loading the elc would be acceptable (determined by file times), then use the value from the elc file (stored in the comment block at the start so the Fread procedure is not required). Lynn
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 13:33:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 09:33:10 2025 Received: from localhost ([127.0.0.1]:51515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uETHK-0005Kz-40 for submit <at> debbugs.gnu.org; Mon, 12 May 2025 09:33:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45938) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uETHF-0005KZ-Sy for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 09:33:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uETHA-0001EK-7n; Mon, 12 May 2025 09:33:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=J1PVJ+CyUh/+e0VXgOksowpmkEvVR0mmGW9VMIru2p0=; b=XxUIEMbioX7gnFZah96y 0LRfE+aqgk7Q6sTB7uw7HxYWGUcsQau0CkfpvUX6KxNYUGa3zX/YeHcQH2N7r1wKSeXL0kML6Dovq UpfOSNbSH3XQuk0ux5eq3AnHn5/dP8ZO7N4kZCncWNW/YoZmytFDkHMqhNG8MAwfeb62JcjfmV5Th Ep1oBucLcGIL1Z9mywB9UnhvSHUtGSuwjixxEEbDe0DKbMSkF7JmdgrZWqz21St54AtMlvumubS5G WAsCD4U+IjaY06DTD1h2mb0X0BiKF7hP1zf6F1JpnEdm50uSrQuiT7vccOa9UuY9UCOu0I0gP9/WC l3PQoyNhffj0+g==; Date: Mon, 12 May 2025 16:32:56 +0300 Message-Id: <86jz6m6jjr.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lynn Winebarger <owinebar@HIDDEN> In-Reply-To: <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> (message from Lynn Winebarger on Mon, 12 May 2025 09:07:06 -0400) Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> <86o6vy6n4u.fsf@HIDDEN> <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lynn Winebarger <owinebar@HIDDEN> > Date: Mon, 12 May 2025 09:07:06 -0400 > Cc: acorallo@HIDDEN, sunlin7@HIDDEN, 78340 <at> debbugs.gnu.org > > On Mon, May 12, 2025 at 8:16 AM Eli Zaretskii <eliz@HIDDEN> wrote: > > > > > From: Lynn Winebarger <owinebar@HIDDEN> > > > Date: Mon, 12 May 2025 08:02:56 -0400 > > > Cc: Andrea Corallo <acorallo@HIDDEN>, sunlin7@HIDDEN, 78340 <at> debbugs.gnu.org > > > > > > If he has that many packages, his load path has hundreds of entries, and any preloaded library will look in > > > every one before finding it in the last entry ... > > > > Maybe so, but that's a separate problem. The patch submitted in this > > bug was to shortcut the hashing of the source *.el files, not to avoid > > searching the extra directories. > > > > If the number of directories is the issue, then my suggestion is not > > to compile packages AOT, which AFAIU will cause all the *.eln files to > > be written to a single subdirectory of the eln-cache (after > > compiling them the first time each one is loaded). But that is a > > separate issue which IMO should be discussed with Stefan and Philip, > > because it's related to how third-party packages are installed and > > compiled. > > It's not the AOT that's the issue, it's the search for the source file > to compute the content hash. Then the time I measured includes that, for the preloaded packages.
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 13:18:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 09:18:23 2025 Received: from localhost ([127.0.0.1]:51455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uET31-0004Or-7N for submit <at> debbugs.gnu.org; Mon, 12 May 2025 09:18:23 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:41604) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <owinebar@HIDDEN>) id 1uET2y-0004OR-Ma for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 09:18:21 -0400 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3a0b0d8090dso357971f8f.2 for <78340 <at> debbugs.gnu.org>; Mon, 12 May 2025 06:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747055894; x=1747660694; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9LzdaXHaRuPFV+JFNpLOpctRlUB1KRqrcwcMDdIFAoM=; b=Pyzq0TYzM9HPWXNu/vuexM6O2CHjgOPx0KVFZwFYwpnVPJGeZnQd02F1UY2IrBIHwE PoKeXbQQFNnhuf2J+PQ81KfEjLnhxbFbD7F5DmT7NCZgUGOP0iMLLIeAJ6uA8IkdgUXK DcmWSUo4V6+9GAa1WZ3VDxCv/ivb2zvUviRr4U7ss53d4YupK8KlMABkg3+JxIDr/8Tj FdBE9X3mX4lwRPMokOVVNYbrAVlRFBWN7wJseDxWGrucZwHz/kgLNadm6Jaaz2FJUsyk 1griRA/7nHdrAO+skyDEUpD6w30RsgUlZpyMQ8TqUnqs/Hka3/VD2dsPciwhbQ78aeS8 sLlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747055894; x=1747660694; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9LzdaXHaRuPFV+JFNpLOpctRlUB1KRqrcwcMDdIFAoM=; b=HD9NdIYMDpPZOOVQjNSzdowl0us7S2CiVvl5vvCNm9W8Pzmh9cjgVvTYXDIVYBnz+g yj+YJe3ZrUMtYIVxzzg3gpsXv33kUaLVS7+W8AiPKaeMcxI8G7s6TNkAJEpmXcXeV6M1 XvVTlqOVYY2tJFPgmciKPowtJyHjxhwdiJBZxa4x9zeT2Q3P4aaluUm3b0Hs+vZyFC3N XqOFQYNaO7RT0JYGQG+NnOpho7u7w9Joohl53skVKmNUHpWixJIjKPj3A9RstkBZWplj k1ZbNR1FgvJrBSDqGrF1R/sKJg2ex6/iZoGc4Mjzcb9yFTjWie1tAR/FOU/+b31c4RTK rWLQ== X-Forwarded-Encrypted: i=1; AJvYcCWvHeQfOaT630nTmR31i0swMhSglERf4VbmpyjgBgcODF3t5HnqQ9sxB5sc3AT02trAdHZewA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz6lRW+7GJwhtOzerVWHBqyvCMW1SMaY2StUiLK/pIk9OaOhcGK wyGFIKQYsGBvMZHqVZqHzfcxOhJOSBsgzyM8Mm7kA9lTigfoshP7vVxqNqiu9R4zhpFnayA3Xv3 MqYQPlQodTTQs0f03OO8TDXil/7Q= X-Gm-Gg: ASbGncuO1adO+1FM0miX9ZubC1LNYyfDBZBCdrSArRvkddl++Raw6QPEHQxFa8E74Xy FF4UIiaN53mTeGJt03BxCZb3eMAhkqEmWiJwy1elYKWGnU60lIDxjGTAuItyNnHIpPCngqZMTaV AupDrOfu7veNGJLvCwqb+ad1g4k+IGUdCCSo48AVrJjfADs4EQysz3gdRGPoNsNar1uZ4Z5aDZu A== X-Google-Smtp-Source: AGHT+IH+vUsczR+XC49amL1tHmlBsMMGuLnEIe1jMhJ/Sz+KWurMo1iVpXt0y8T1Mom0e3IyveNRGIKZt3oI2QnM8jQ= X-Received: by 2002:a05:6000:1786:b0:3a0:8b90:1acd with SMTP id ffacd0b85a97d-3a1f63825afmr3872655f8f.0.1747055894025; Mon, 12 May 2025 06:18:14 -0700 (PDT) MIME-Version: 1.0 References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> <86o6vy6n4u.fsf@HIDDEN> <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> In-Reply-To: <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> From: Lynn Winebarger <owinebar@HIDDEN> Date: Mon, 12 May 2025 09:18:02 -0400 X-Gm-Features: AX0GCFtimORB-1V-4bRzwEknPuzwnX3iaJLfIiK0ektw1EQpL56iG8TuSFVwWkM Message-ID: <CAM=F=bBszpiCY7pR4YrUE5cA5w9+s9PJnJw9RmYOfbB-dgaj9Q@HIDDEN> Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000f75a2c0634f0254b" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000f75a2c0634f0254b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 12, 2025, 9:07=E2=80=AFAM Lynn Winebarger <owinebar@HIDDEN> = wrote: > On Mon, May 12, 2025 at 8:16=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrot= e: > > > > > From: Lynn Winebarger <owinebar@HIDDEN> > > > Date: Mon, 12 May 2025 08:02:56 -0400 > > > Cc: Andrea Corallo <acorallo@HIDDEN>, sunlin7@HIDDEN, > 78340 <at> debbugs.gnu.org > > > > > > If he has that many packages, his load path has hundreds of entries, > and any preloaded library will look in > > > every one before finding it in the last entry ... > > > > Maybe so, but that's a separate problem. The patch submitted in this > > bug was to shortcut the hashing of the source *.el files, not to avoid > > searching the extra directories. > > > > If the number of directories is the issue, then my suggestion is not > > to compile packages AOT, which AFAIU will cause all the *.eln files to > > be written to a single subdirectory of the eln-cache (after > > compiling them the first time each one is loaded). But that is a > > separate issue which IMO should be discussed with Stefan and Philip, > > because it's related to how third-party packages are installed and > > compiled. > > It's not the AOT that's the issue, it's the search for the source file > to compute the content hash. But otherwise, you're right, it's a > general issue with package management. > That being said, a profile of the startup (without the patch) would be the best way to tell where the issue is. Probably should have led with that. Lynn --000000000000f75a2c0634f0254b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><p dir=3D"ltr">On Mon, May 12, 2025, 9:07=E2=80=AFAM= Lynn Winebarger <<a href=3D"mailto:owinebar@HIDDEN">owinebar@HIDDEN= om</a>> wrote:</p><div class=3D"gmail_quote gmail_quote_container"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:= 1px solid rgb(204,204,204);padding-left:1ex">On Mon, May 12, 2025 at 8:16= =E2=80=AFAM Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN" target=3D"_bl= ank" rel=3D"noreferrer">eliz@HIDDEN</a>> wrote:<br> ><br> > > From: Lynn Winebarger <<a href=3D"mailto:owinebar@HIDDEN" t= arget=3D"_blank" rel=3D"noreferrer">owinebar@HIDDEN</a>><br> > > Date: Mon, 12 May 2025 08:02:56 -0400<br> > > Cc: Andrea Corallo <<a href=3D"mailto:acorallo@HIDDEN" target= =3D"_blank" rel=3D"noreferrer">acorallo@HIDDEN</a>>, <a href=3D"mailto:= sunlin7@HIDDEN" target=3D"_blank" rel=3D"noreferrer">sunlin7@HIDDEN= om</a>, <a href=3D"mailto:78340 <at> debbugs.gnu.org" target=3D"_blank" rel=3D"n= oreferrer">78340 <at> debbugs.gnu.org</a><br> > ><br> > > If he has that many packages, his load path has hundreds of entri= es, and any preloaded library will look in<br> > > every one before finding it in the last entry ...<br> ><br> > Maybe so, but that's a separate problem.=C2=A0 The patch submitted= in this<br> > bug was to shortcut the hashing of the source *.el files, not to avoid= <br> > searching the extra directories.<br> ><br> > If the number of directories is the issue, then my suggestion is not<b= r> > to compile packages AOT, which AFAIU will cause all the *.eln files to= <br> > be written to a single subdirectory of the eln-cache (after<br> > compiling them the first time each one is loaded).=C2=A0 But that is a= <br> > separate issue which IMO should be discussed with Stefan and Philip,<b= r> > because it's related to how third-party packages are installed and= <br> > compiled.<br> <br> It's not the AOT that's the issue, it's the search for the sour= ce file<br> to compute the content hash.=C2=A0 But otherwise, you're right, it'= s a<br> general issue with package management.<br></blockquote></div></div><div dir= =3D"auto"><br></div><div dir=3D"auto">That being said, a profile of the sta= rtup (without the patch) would be the best way to tell where the issue is.<= /div><div dir=3D"auto">Probably should have led with that.</div><div dir=3D= "auto"><br></div><div dir=3D"auto">Lynn</div><div dir=3D"auto"><br></div><d= iv dir=3D"auto"><div class=3D"gmail_quote gmail_quote_container"><blockquot= e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s= olid rgb(204,204,204);padding-left:1ex"> </blockquote></div></div></div> --000000000000f75a2c0634f0254b--
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 13:07:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 09:07:27 2025 Received: from localhost ([127.0.0.1]:51390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uESsR-0003oH-GU for submit <at> debbugs.gnu.org; Mon, 12 May 2025 09:07:27 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:40711) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <owinebar@HIDDEN>) id 1uESsO-0003nx-SV for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 09:07:25 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-442ea0b3a9fso144115e9.3 for <78340 <at> debbugs.gnu.org>; Mon, 12 May 2025 06:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747055238; x=1747660038; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nSjZLSoBbgOZU27gfNsseBkYclPef5GRy+lnrqusfcI=; b=PMx5tf14LOwkLrTF/Ny5++tXs14UxnvmjCRBIb+7S0+PotmeIvDWFNEylCHr+0vjL2 lGpAmu8K/pMUUyX8lBEOqBE4gFdIm9Bp+XsQVFAPZuT0QdmcBnotf9iQtysBFZTrlgvX 5Hp2HNp8mDIeEp1qZo6jSOQuFSQm+TL0Qwk8G4uYYBxd7sryxTXmm+5V+K2+ObXQRc0V oH9Kg9qOMJHM8yiHn02SeJVKdBHrWKOvqcbILIXISdPWaxKoS4fgs3IaliVSuoKGEDo3 ggqvsx5fFQKOE3fFNAt58HuOEApLGrKAPxflFjB0R1WS7vNqUogVKvYBvNgLDoQB6cKs ESoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747055238; x=1747660038; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nSjZLSoBbgOZU27gfNsseBkYclPef5GRy+lnrqusfcI=; b=RpbfvJaK3i8eUv7b84kqfxZmw/K3EJRqk2MRXm0HfOJBbCEviY7GIUWCkrWgCUvf/Z LTLyUHNv7ks8bZfiyv0MdilrQsRIiljO6wFM9jqMw+mEZYaD99Ih2W/pO9aCBAeDDD0S Ty55B9a/7JNfCUHa7YBz07mgh1T5J0O6DE/LevZ00mY1eeW8GicU9DDqCHgQVtXGVxSA YHkzMTRtbi/TIL0qqE7++kHh1vvjgTRd9GtwDiIRFX6qa4nR95skq1C1RD6mvV6zTaji p12E3Op4cfVHw8n2c72pzx9OwfGyTHa6odIYROSmy2wvZQNZZsAupet3Nw8G4xryKmD9 IUZQ== X-Forwarded-Encrypted: i=1; AJvYcCW7wkctD4wNU9K+XFfcPcTNQlbYm+ueGOWacFmvqZBA0EgE4Idf8PDF1uKjZ3DM7jhjotk5nw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw0g3rolzBQg2EAnvvVByB9Wpp3NhubA8Wb3Q1na/XHUFRxCSXa FmTdsEH5dsJJOUePHbf4hF0oJWvqYClxnqvVbaQzyNweTgxsAEGgRV/4qK1cwhubLkjTu0+yxJc yxjTWpYcXvExSQFaxBHS5cloy9jY= X-Gm-Gg: ASbGncvQRh1Bd70N9ybBxiC1yBB3n79BArtKHqegBkzV6fZuydgypeQ9ra1pgmSCaHh RNXFr+1G4oEYI7SeR9Gqu4yf5WUbwTSSwtizTo3Ny4lptvX6DFBw9MZyZCPMKVlLuFV1STpFTfu YXk0oVboUBkSJDXiOXJT0NbFrKMRnTGY4Gm5804ld2each+g== X-Google-Smtp-Source: AGHT+IFAQmtwPypwf/UzaJWw4fIOzmmB6sGq2LQKPqz/QPStECAnAWETSbXBQWw4e7YB/Q1p8zLL08tdiVVoFKyDik4= X-Received: by 2002:a05:600c:1c90:b0:439:930a:58a6 with SMTP id 5b1f17b1804b1-442d6de8175mr42926555e9.8.1747055238282; Mon, 12 May 2025 06:07:18 -0700 (PDT) MIME-Version: 1.0 References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> <86o6vy6n4u.fsf@HIDDEN> In-Reply-To: <86o6vy6n4u.fsf@HIDDEN> From: Lynn Winebarger <owinebar@HIDDEN> Date: Mon, 12 May 2025 09:07:06 -0400 X-Gm-Features: AX0GCFuZWgd0zsHnRKkEvxR1c3wScciePEOYZewfX_JXnhFfNFIeVHt36sFwL1w Message-ID: <CAM=F=bCVja0MSVo5QS7Y4v4V-Gpu3zJ8j0wi26WgQ+BVHzR76A@HIDDEN> Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Mon, May 12, 2025 at 8:16=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > > From: Lynn Winebarger <owinebar@HIDDEN> > > Date: Mon, 12 May 2025 08:02:56 -0400 > > Cc: Andrea Corallo <acorallo@HIDDEN>, sunlin7@HIDDEN, 78340@debbu= gs.gnu.org > > > > If he has that many packages, his load path has hundreds of entries, an= d any preloaded library will look in > > every one before finding it in the last entry ... > > Maybe so, but that's a separate problem. The patch submitted in this > bug was to shortcut the hashing of the source *.el files, not to avoid > searching the extra directories. > > If the number of directories is the issue, then my suggestion is not > to compile packages AOT, which AFAIU will cause all the *.eln files to > be written to a single subdirectory of the eln-cache (after > compiling them the first time each one is loaded). But that is a > separate issue which IMO should be discussed with Stefan and Philip, > because it's related to how third-party packages are installed and > compiled. It's not the AOT that's the issue, it's the search for the source file to compute the content hash. But otherwise, you're right, it's a general issue with package management. Lynn
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 12:16:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 08:16:17 2025 Received: from localhost ([127.0.0.1]:51051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uES4v-0000xZ-EX for submit <at> debbugs.gnu.org; Mon, 12 May 2025 08:16:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38064) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uES4m-0000x1-NP for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 08:16:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uES4c-0001wz-Oh; Mon, 12 May 2025 08:16:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=oQbhsrS7eGy8n1ZtjCWzaiIjYWKyyDwSkXlZYptWgkY=; b=l+DeAxfVsIqX n7ce2jPPL+0NpNQY+aKwJG3oJkYisJkoNssghV1+ZIFvxtBXn5UPqDrxItvoSYOIMXYRpwCQx0eSv 13V1aQ4gsVzoYKFjUITw0qqjpIw2qOjsHLNKXGFNY6/hbhIJ9HcuYgeClBkO4wVVu7OG2qAa566px FEQblRA/uv7GxbndNVwqrejZ7lQqEv5p3TLpZOx8DEhW1BJAK/4dTnTJR0I9F7wrozb1Zk0YJ1Mef UWRz/SB5YTJDfRdYlFH0T+LK+yZh/j+hYaicqTpiB0kBSpfsltsyhL/m7hluxhJX3jvUjdKj8HFV6 7Op4bFBrKTRTGzutmwSVzw==; Date: Mon, 12 May 2025 15:15:29 +0300 Message-Id: <86o6vy6n4u.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lynn Winebarger <owinebar@HIDDEN> In-Reply-To: <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> (message from Lynn Winebarger on Mon, 12 May 2025 08:02:56 -0400) Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lynn Winebarger <owinebar@HIDDEN> > Date: Mon, 12 May 2025 08:02:56 -0400 > Cc: Andrea Corallo <acorallo@HIDDEN>, sunlin7@HIDDEN, 78340 <at> debbugs.gnu.org > > If he has that many packages, his load path has hundreds of entries, and any preloaded library will look in > every one before finding it in the last entry ... Maybe so, but that's a separate problem. The patch submitted in this bug was to shortcut the hashing of the source *.el files, not to avoid searching the extra directories. If the number of directories is the issue, then my suggestion is not to compile packages AOT, which AFAIU will cause all the *.eln files to be written to a single subdirectory of the eln-cache (after compiling them the first time each one is loaded). But that is a separate issue which IMO should be discussed with Stefan and Philip, because it's related to how third-party packages are installed and compiled.
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 12:03:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 08:03:21 2025 Received: from localhost ([127.0.0.1]:50990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uERsO-0000Ej-L9 for submit <at> debbugs.gnu.org; Mon, 12 May 2025 08:03:21 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:39853) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <owinebar@HIDDEN>) id 1uERsK-0000E9-Rn for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 08:03:17 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-442cd12d28cso979395e9.3 for <78340 <at> debbugs.gnu.org>; Mon, 12 May 2025 05:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747051390; x=1747656190; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=srBNEgxIRXyTY+dcBffhfmST2fKGL6rGdWlY3WiGXDo=; b=Mgrkeg/fYZ9KzfgESzQC3hgA9FKFIdTKVWCDgOdDAsr9yxRT1fS855dMwr+Jjz4WAM KmSR201ESGB8+l+T1/jrVSMuRZQdeIWNzdRb2hV+hZxJAnOAYfUiKyDjLjbgwNiafLoL 2ACsfCoZ4LqEqSf8nFzoTVQau9iwhV4ajqrbrD9tpk0qVA3h7PDLuS/4ypyeSKmVj8hd TnWu3a+iBPwLkb1FE/QCOUPT+hrihroUIQvOJL2LWa3ZuWITx9hl0No9gcXnsmO5Sl0L HtgM6n09foyeeUxCUyQ4dUpUGDxqXHXXNA8ROdaOi6n/uAjV6hLdfu7RnIVIVT9cPb2r OyMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747051390; x=1747656190; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=srBNEgxIRXyTY+dcBffhfmST2fKGL6rGdWlY3WiGXDo=; b=Z87/yY39GeeGzBNPCvliNKn57CRuYcQCOPuRsTu2EbdKTmTYsQ2FS2UpXKXP3i4jtX q28AkTNIBnLFvPFZxi3KdQ4uyIhA99KGObrCcTCJ9A99PpDHFJ5UB+VT2IyPkdPrwULf 13IARGNxUlJ1NKIaCGeBEoZAkzpTknlWMGKsdYJ1IfMjO6I4rEdKGFOCZ5x6GOAwLDwF CS9WXmaEaRSjtZmeNWvmVEkfo8ABhIX+B0pS6ACO3FT30IC7B3ar2bREqod9wYB2c9XO /QBvFSQag2mQHu/mqMRwuS1tLqADzSDp9WQRkO7mHcYIaZT6ROnxPjJ6tyY98zMLwB7j xFiA== X-Forwarded-Encrypted: i=1; AJvYcCVSDxhFRJhEYM0I7bGBRn0dU2zy33LlPLM9qU6qkKKwsyVAOrUjryJAmr9OvAwilK1HMbq8kQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwLEXB4Em+KY/RKY/NxbG6OhbcOXz6cNRmI/8o/MqVX8aSvt81q L8gNQgr5nW5t2qvtN07tNQvhevBeRkdcuordusnUp5Nl0UGpOsArwbvhcRsvcx1mVtC0176ZYi/ 6AM3XZpXC6UnPqfOhfPqT8ptb40M= X-Gm-Gg: ASbGncsiXnyq7K1J3FEmFOqYkbWxvz71WyFpL326Uv90Oub7HZTE7RPZ9r7LJ7Z7Pj0 A4VXxt7OMCR2VAJf6GUZEY3VnsgMKJa0iZ3ZMw1TDY7wXJ/rCxgmgFOgzJSEFhn/CgIOBNCnARl X/CSwHbpdkUx4wpH3Uqa3i3BJw1LKTkk15hCeGYTNFroYENeXuIK09DW7l4H4GzCgZ X-Google-Smtp-Source: AGHT+IFZBb1ajhdFgGKeh467IfD3V+Ljs4+7fpF77Wdl0nYCvcyiB03GIuHoBYLWgpN3B+qEnyKA0g8trzBBsjKBnTs= X-Received: by 2002:a05:600c:1c8f:b0:43b:c938:1d0e with SMTP id 5b1f17b1804b1-442d6d120c1mr36095485e9.2.1747051388747; Mon, 12 May 2025 05:03:08 -0700 (PDT) MIME-Version: 1.0 References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> <86plge6o0z.fsf@HIDDEN> In-Reply-To: <86plge6o0z.fsf@HIDDEN> From: Lynn Winebarger <owinebar@HIDDEN> Date: Mon, 12 May 2025 08:02:56 -0400 X-Gm-Features: AX0GCFvLYLQTtAe1kbHJ1b79lO5X5aS97PzQwMTxvOxQPe5fMgaq6PkgqxhbZc4 Message-ID: <CAM=F=bAsPT_+EVW-TmSRjfrp4vM9d4_0SVgmL5753xAwR7L5Fg@HIDDEN> Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000006e463d0634ef192c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, Andrea Corallo <acorallo@HIDDEN>, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000006e463d0634ef192c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If he has that many packages, his load path has hundreds of entries, and any preloaded library will look in every one before finding it in the last entry ... On Mon, May 12, 2025, 7:57=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Andrea Corallo <acorallo@HIDDEN> > > Cc: Lin Sun <sunlin7@HIDDEN>, 78340 <at> debbugs.gnu.org > > Date: Mon, 12 May 2025 05:30:32 -0400 > > > > Eli Zaretskii <eliz@HIDDEN> writes: > > > > > Anyway, unless Andrea (CC'ed) enthusiastically embraces this, > > > > I don't "enthusiastically embrace" this :). > > > > I share all the concerns you have listed, the hash system was > > constructed exactly to rely on something more robust than timestamps. > > Thanks, I presumed you'd think that. > > > I'm no Windows expert, why do why see such a performance hit on this > > system? > > Disk I/O is slower, so loading hundreds of packages at startup (which > is what the OP does, AFAIU) takes time. > > On my MS-Windows system, the following command > > time emacs -Q --eval "(progn (message \"foo\") (kill-emacs))" > > reports the following times: > > real 00h00m00.149s > user 00h00m00.109s > sys 00h00m00.031s > > This loads the *.eln files for all the preloaded Lisp packages. In my > case, there are 162 *.eln files loaded by the above command. I don't > know how many *.eln files does the OP have that are loaded at startup, > but even 1500 of them should load in, like, 1.5 sec, which should be > still okay for startup (that is supposed to be a rare event). > > So I personally don't see this as a serious problem, but maybe I'm > missing something. > > > > --0000000000006e463d0634ef192c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">If he has that many packages, his load path has hundreds of = entries, and any preloaded library will look in every one before finding it= in the last entry ...</p> <br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class= =3D"gmail_attr">On Mon, May 12, 2025, 7:57=E2=80=AFAM Eli Zaretskii <<a = href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex">> From: Andrea Corallo <<a href=3D"mailto:acora= llo@HIDDEN" target=3D"_blank" rel=3D"noreferrer">acorallo@HIDDEN</a>><= br> > Cc: Lin Sun <<a href=3D"mailto:sunlin7@HIDDEN" target=3D"_blan= k" rel=3D"noreferrer">sunlin7@HIDDEN</a>>,=C2=A0 <a href=3D"mailto:= 78340 <at> debbugs.gnu.org" target=3D"_blank" rel=3D"noreferrer">78340@HIDDEN= nu.org</a><br> > Date: Mon, 12 May 2025 05:30:32 -0400<br> > <br> > Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank" re= l=3D"noreferrer">eliz@HIDDEN</a>> writes:<br> > <br> > > Anyway, unless Andrea (CC'ed) enthusiastically embraces this,= <br> > <br> > I don't "enthusiastically embrace" this :).<br> > <br> > I share all the concerns you have listed, the hash system was<br> > constructed exactly to rely on something more robust than timestamps.<= br> <br> Thanks, I presumed you'd think that.<br> <br> > I'm no Windows expert, why do why see such a performance hit on th= is<br> > system?<br> <br> Disk I/O is slower, so loading hundreds of packages at startup (which<br> is what the OP does, AFAIU) takes time.<br> <br> On my MS-Windows system, the following command<br> <br> =C2=A0 time emacs -Q --eval "(progn (message \"foo\") (kill-= emacs))"<br> <br> reports the following times:<br> <br> =C2=A0 real=C2=A0 =C2=A0 00h00m00.149s<br> =C2=A0 user=C2=A0 =C2=A0 00h00m00.109s<br> =C2=A0 sys=C2=A0 =C2=A0 =C2=A000h00m00.031s<br> <br> This loads the *.eln files for all the preloaded Lisp packages.=C2=A0 In my= <br> case, there are 162 *.eln files loaded by the above command.=C2=A0 I don= 9;t<br> know how many *.eln files does the OP have that are loaded at startup,<br> but even 1500 of them should load in, like, 1.5 sec, which should be<br> still okay for startup (that is supposed to be a rare event).<br> <br> So I personally don't see this as a serious problem, but maybe I'm<= br> missing something.<br> <br> <br> <br> </blockquote></div> --0000000000006e463d0634ef192c--
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 11:56:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 07:56:31 2025 Received: from localhost ([127.0.0.1]:50930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uERln-0008IA-26 for submit <at> debbugs.gnu.org; Mon, 12 May 2025 07:56:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33416) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uERlk-0008Hc-5l for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 07:56:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uERld-0007js-La; Mon, 12 May 2025 07:56:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LfZEIC8T4kVtOUa3fuJi/z/8oNHCi4ocvP4BBjQ9fok=; b=qhLQWHA6Y/+B WOcabvFnKY23rrrs2fay+E11b8ufEiTKH073hIF2kjNhdcOjx3+ktmx2Z9ne0+MQJ6J33qutRkqYp 2kmNDS4zZ8RcOAaTXQe7t8o22qIV/eOjtVUem9FsPxMX61rYRq069oiCGHt+xhYOP+MTIUErCvOvE iuSouJ0Q4F9B2mM2LFF5eSzYcC0fGLArx25IF6uvEAhfOoBfH7FjfTaWWSTfnKxDfQ9RK0WHnfzfq G5DK2zHzvSpkSB/9BMTsCtufdmTOBFixWo1dbWGDPZbPE5aOvNI1WjZhWzJj/K4mvO3VvL+WfOpE4 yjHb0JqyBLQ1shWEm8NEmA==; Date: Mon, 12 May 2025 14:56:12 +0300 Message-Id: <86plge6o0z.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <acorallo@HIDDEN> In-Reply-To: <yp1zffi5g7b.fsf@HIDDEN> (message from Andrea Corallo on Mon, 12 May 2025 05:30:32 -0400) Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <yp1zffi5g7b.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78340 Cc: sunlin7@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <acorallo@HIDDEN> > Cc: Lin Sun <sunlin7@HIDDEN>, 78340 <at> debbugs.gnu.org > Date: Mon, 12 May 2025 05:30:32 -0400 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > Anyway, unless Andrea (CC'ed) enthusiastically embraces this, > > I don't "enthusiastically embrace" this :). > > I share all the concerns you have listed, the hash system was > constructed exactly to rely on something more robust than timestamps. Thanks, I presumed you'd think that. > I'm no Windows expert, why do why see such a performance hit on this > system? Disk I/O is slower, so loading hundreds of packages at startup (which is what the OP does, AFAIU) takes time. On my MS-Windows system, the following command time emacs -Q --eval "(progn (message \"foo\") (kill-emacs))" reports the following times: real 00h00m00.149s user 00h00m00.109s sys 00h00m00.031s This loads the *.eln files for all the preloaded Lisp packages. In my case, there are 162 *.eln files loaded by the above command. I don't know how many *.eln files does the OP have that are loaded at startup, but even 1500 of them should load in, like, 1.5 sec, which should be still okay for startup (that is supposed to be a rare event). So I personally don't see this as a serious problem, but maybe I'm missing something.
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 12 May 2025 09:30:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 12 05:30:44 2025 Received: from localhost ([127.0.0.1]:50229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uEPUi-000603-1w for submit <at> debbugs.gnu.org; Mon, 12 May 2025 05:30:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38886) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <acorallo@HIDDEN>) id 1uEPUf-0005ze-Gx for 78340 <at> debbugs.gnu.org; Mon, 12 May 2025 05:30:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1uEPUY-0007MR-8p; Mon, 12 May 2025 05:30:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=yBB7n/fPWuQ0ru+yZkAXb4wGTG7QoD4Iq6hplPzPkUI=; b=XCjXb3ARciSDtnuVcBp4 gOr4uqoPYuYBCBg1uZXiIq/OabXIk+kCg58QnVjG2+Q7hIOIbcpNsOHwZ2IuhvufkxyK0/u3/PR5M In6Zykk4mzCjIGHW4Te6xvrbIE7pLjJv8hT0ltafeFW13Zndm+SdzRLPjRhRqHiYGDTKuoiwsLOjE f+3GPN3Ud3TzmX+oBPQ9WrGVctNf525CuKF0us2HiKp2U47kuSGq3ytGq/bmEi9gY8ysTb/QXXvfI hgAtozR+72tc6decq8qCsR6WtZLaFBAKBpH9BX62gWS1/91mkenTINbGL0Tu1nSWS3ZJJxCgQEjAg MvVzurf9ycTq3Q==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1uEPUW-0007nM-Uk; Mon, 12 May 2025 05:30:33 -0400 From: Andrea Corallo <acorallo@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el In-Reply-To: <864ixtc5gw.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 10 May 2025 10:03:43 +0300") References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> Date: Mon, 12 May 2025 05:30:32 -0400 Message-ID: <yp1zffi5g7b.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78340 Cc: Lin Sun <sunlin7@HIDDEN>, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Lin Sun <sunlin7@HIDDEN> >> Date: Sat, 10 May 2025 00:07:52 +0000 >> >> Currently Emacs with native comp will comp .eln file name by the >> full context of the .el or .el.gz file in function >> "comp-el-to-eln-rel-filename". >> For example, emacs startup will require the simple.elc, then have to read full of simple.el.gz to calculate the name simple-X-Y.eln. >> >> That's slow on Windows. >> >> This patch introduced a new option "fts" (file time stamp) for >> "--with-native-compile", it will let the function >> "comp-el-to-eln-rel-filename" to get the .eln name by reading the >> .el/.el.gz file timestamp, make emacs faster on Windows. On my >> Windows testing env, the Emacs startup up time was reduced from 8s >> to 6.5s with 386 packages, speedup ~20%. > > Is this with a cold disk cache or a warm disk cache? IOW, if you > start Emacs, then kill the Emacs session, and then start it again, do > you still measure 8 sec or do you measure a significantly shorter > time? > > Also, is your anti-virus software configured to ignore *.eln files in > the directories where you install them? The *.eln files are DLLs as > far as Windows is concerned, so it's executable code, and anti-virus > software will therefore generally scan them when accessed or loaded, > which could significantly slow down loading. > > Anyway, unless Andrea (CC'ed) enthusiastically embraces this, I don't "enthusiastically embrace" this :). I share all the concerns you have listed, the hash system was constructed exactly to rely on something more robust than timestamps. I'm no Windows expert, why do why see such a performance hit on this system? Andrea
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 10 May 2025 15:46:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 10 11:46:27 2025 Received: from localhost ([127.0.0.1]:48379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDmPD-0000vU-AI for submit <at> debbugs.gnu.org; Sat, 10 May 2025 11:46:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51104) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uDmPA-0000vA-HG for 78340 <at> debbugs.gnu.org; Sat, 10 May 2025 11:46:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uDmP5-0005Ir-8M; Sat, 10 May 2025 11:46:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=SAYWJk66jXZ5WelGdpiUuaP4oELDAk+/phJnZUqchTA=; b=WuDE+ILNOgWFowXokL3Y Hlq2dXNgJKhRJ4bA2id5XzBWMgRfaLzNVrX8HcgfIR0kSyNcULENeQlQ9IeoxLhqUSBAAOUQRrkTL K3jfhCgSg55vWw27GNEiN///Ah5+maQHVHQFIsCOQTjVXNqzyPLX1IzProHECWok4cHqk49moEIDd sCnnpRDewtrG10OKttkJLK81OVDQzJdrjXQJK9TsNYu1TxNHLjBxMEaXUwdEey9Uiofa+C2w5LAac 9TzO8hdZXuXloP1QQlCP1j8w4a/dOXSQG0yjvY8iWfVpDro+xOB6IecYnZAd4pDySrp5A04azqdKU aZXrU7y4gk2WZw==; Date: Sat, 10 May 2025 18:46:15 +0300 Message-Id: <86tt5s8o54.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lin Sun <sunlin7@HIDDEN> In-Reply-To: <TYCPR01MB10004E508BF65E0C9550342CBFB95A@HIDDEN> (message from Lin Sun on Sat, 10 May 2025 15:28:15 +0000) Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> <TYCPR01MB10004E508BF65E0C9550342CBFB95A@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78340 Cc: acorallo@HIDDEN, 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lin Sun <sunlin7@HIDDEN> > CC: "78340 <at> debbugs.gnu.org" <78340 <at> debbugs.gnu.org> > Date: Sat, 10 May 2025 15:28:15 +0000 > > > Also, is your anti-virus software configured to ignore *.eln files in > > the directories where you install them? The *.eln files are DLLs as > > far as Windows is concerned, so it's executable code, and anti-virus > > software will therefore generally scan them when accessed or loaded, > > which could significantly slow down loading. > > I tested on same environment, with this patch it will speedup Emacs loading files. I asked specifically about anti-virus: did you try to configure it so as not to scan the *.eln files? > > . it is easy to "fake" file's time using 'touch' 'cp -p' and similar > > techniques; in fact, the Emacs "make install" uses that > > . on a modern system, it is quite possible to have a newer file have > > the same time stamp as an older file, due to relatively low > > resolution of file time stamps > > . Emacs on MS-Windows has a 1-sec granularity of file time stamps, > > which makes the above even worse > > > > All of the above means that using the file time stamps risks loading > > incorrect *.eln files, which could crash Emacs. So up front, I don't > > think we should have this feature, on Windows or elsewhere. > > The .eln file is named in filename-X-Y.eln format, timestamp change maybe lead that Emacs can not find the .eln file, then Emacs will use the .elc/.el file, still works. I'm actually bothered by the false-positive case: when the time stamp matches, but the file is wrong. These 2 hashes are there for a very good reason: loading an incompatible file could cause fatal failures and loss of data and edits. > This option gives Emacs user a chance to build a faster Emacs on their local, especially for Emacs on Windows. And it's not a default option, won't bother the user who don't build the Emacs themself. Sorry, I don't think it's right to add options that could risk crashing Emacs. What kind of project are we if we add such options, even if they are off by default? So let's wait for Andrea to provide his opinion on this.
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 10 May 2025 15:28:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 10 11:28:35 2025 Received: from localhost ([127.0.0.1]:48227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDm7v-0008Be-6w for submit <at> debbugs.gnu.org; Sat, 10 May 2025 11:28:35 -0400 Received: from mail-japanwestazolkn190110000.outbound.protection.outlook.com ([2a01:111:f403:d407::]:57509 helo=OS0P286CU010.outbound.protection.outlook.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <sunlin7@HIDDEN>) id 1uDm7p-0008B8-Si for 78340 <at> debbugs.gnu.org; Sat, 10 May 2025 11:28:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tTEJdtfgU788JHe9CzyaWzN7NX2rZkFT3loNfD5yHi+cne5cwp2kkS8l9qPPjhJBB0MzIuU8aKi4mtPNnavvYFxltpHrlxZ7F6UDrDDkyt5hx04cv2SpuQoyHfy018LVQM5oC+JDEyLao9noVHav7lWl68aZ5fem5dzwN7S+0b9VHvmSo4h020UuZiQcmsXhqIH9/Pf3GwfeM64kMs8uAKPWANcOhXG8aaUuq3crbYLbkEQ7cBWPuCumv3yvsM7laJ5/pi11+uLfxVkSdv/cgEBBtHNCQpJizoY5CN31Q5hvS/V1ONLP+ik4LKnog/rE7oGOnHMvgvYygRNPxxQxeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ENRMXQCbQRWL4DBSitrONqK3fswbSKMK8+GBwDa6KL8=; b=u0H4EwilvzI4y1v6MBmpWUAJXnJun8dPGF7iC/yMlyOFplgTfNWYPkLB82r52oyTbz/sJc/M3MIlKrTf+0khbMTbVjiW+wD4LSbWiBhiUaZ+QmYMvS20PH1jqVCybd3CByy2arBog5QDRe+KH416z+c4b2/2Gm35vjWiBl3RTx2+EYSq+EftRtChgwkk1etUpwpQ2CQvozCIbZWhwflNFPjQy4abhddXpjoS8KvnBQeU10jqRTiI3qs4E1cATkvBCUNrZOxSYYlJIKAQnYSkpopBYikQmk6h8nZbIuj6Rk9xz0k1AdOorVd0RNCdyzLbSCqbzbw1J66JcAxYGutPyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ENRMXQCbQRWL4DBSitrONqK3fswbSKMK8+GBwDa6KL8=; b=ntqeFiY2BjgdxaH/+jwkTBsUffo5skJ5ZFlczED6AS1HRm5Ukf0JeVJL0Qwb3AlAWTUxmigV0drxSmY0+ZVbQmP0hH1oW9djC035LxEjJmLxrm3Qhl/2HMtdqneMtQe02yPRf+AvgRHoWaW5hQr3ttKoFjJV0DG1DjmhSstw78xaGbagPAPmEGQ3e3Z+iirSXhao+cIPtQGghVesHkMnxvy7I8sA1RAyEgc/v4yDLXhjRsO7gJHOQ3yS9A73rRJi0r0kmfzuhE7Rvs0f09owzXEzVHvqJoxbO4DVqrGDXx24wSqVOmclRVA6Tp1z1ZzHxRkrewzigXPQ3oibTvSmKw== Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com (2603:1096:400:1e8::14) by TY3PR01MB9810.jpnprd01.prod.outlook.com (2603:1096:400:222::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8722.27; Sat, 10 May 2025 15:28:15 +0000 Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com ([fe80::8ecd:43a5:333:1c8]) by TYCPR01MB10004.jpnprd01.prod.outlook.com ([fe80::8ecd:43a5:333:1c8%5]) with mapi id 15.20.8722.027; Sat, 10 May 2025 15:28:15 +0000 From: Lin Sun <sunlin7@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN>, Andrea Corallo <acorallo@HIDDEN> Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el Thread-Topic: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el Thread-Index: AQHbwTetTQL/37TOcEq8anwh9PGcdLPLcPCCgACCrAU= Date: Sat, 10 May 2025 15:28:15 +0000 Message-ID: <TYCPR01MB10004E508BF65E0C9550342CBFB95A@HIDDEN> References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> <864ixtc5gw.fsf@HIDDEN> In-Reply-To: <864ixtc5gw.fsf@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB10004:EE_|TY3PR01MB9810:EE_ x-ms-office365-filtering-correlation-id: 97b53944-fab4-4fc1-263b-08dd8fd74899 x-ms-exchange-slblob-mailprops: AZnQBsB9XmoaApi1aWVt9ILKZbGoHsd6QENO8F7KfXQol4OEfOXu5BLSP3hEJbHoLa4YRwPjeqBYUEc3Da2trx/tFLOxq62wVhkOnGE3rybGH5DPzLPdU2B5cPbSUe+dXLmrIy1J6oPXXmyBlhpUX4BHifB9sPnAKVhr6zYwP2s5A8RCiv73w8X+7mpx13tfHLz4m3uMgPqRJrQudVZ73f+AdB093Aa9BCTmGR4KhjKZP/TiG2shR46/TkOTjPdN1JoZ6YTsU8aQMjib/apEhlfYu+7Pw26CK5qnZ9KGOUHXhs15m8HEVtNcn8lnepTnRgEkPbKaXpDCNAhGwDG7BTyZH7fOdv2PedY6tXhIacGyJz/rXiJOo33xRGXw1NHMr+4q99t7u7mep9+JFFsZGD+VBGaImgBrmD3k/uyZfY+a26ZXtlcRFFSfEkb2COn6Ez8eCD/QhdSCsJUjzDfkE1fkEaqHYvauVZ/aS/Ylg0fjjlUtOF7HY5OHfEpeDanSD3lvvjfv6u76Rxx4RqVq0XkXAWtw3QqmVp30zPKpMv/SD2FSbcOG7GcBoAY5Ra7PJ3X5juMhm9qgjCRWv38hTQMtiFzfuH5nswWTbbk6VEIbx495893DNh/ee+ae8WbUXrAodHZN+G7yPG6KuOleXpKlawH6vgIkoeDklIc3mviVHI4InAn/H5JxR2ZJkjYaOrcwZrOsugXceKEogsWSRs1RQn5OrI4KA3xib1oEpmlUnWzobMeoeFRaneFVj2r5124MDezFw5U= x-microsoft-antispam: BCL:0; ARA:14566002|8062599006|8060799009|7092599006|19110799006|15080799009|461199028|15030799003|440099028|3412199025|102099032; x-microsoft-antispam-message-info: =?iso-8859-1?Q?dQQ0GhxB54wJG9lYD6PU4oHXsuOeNWNOWhOT0D64n5F2I7ucCV0AqC+kZY?= =?iso-8859-1?Q?zvNRMXw8YcUlDJ6iXqjS6ClGL8qx3kvWGNeVpHZ59ED15ISm6R3P5J3ymt?= =?iso-8859-1?Q?8tH8e97eHa5L9+B1aukxRpAJ+h/Pl0dFD9ZMkiaB6a3b+xpqgpdLsT+DZ5?= =?iso-8859-1?Q?t6Hdf2aAhJtIL2CJIxSR4OV0yOMGtr7A2Q6bkcXzZ1c+EflpFzqstfe6As?= =?iso-8859-1?Q?FOM/t56CitnSJiiIIQqIpCRHYPPRBaWYpR0TAfLfxYc6pjfzkC9ALZ715z?= =?iso-8859-1?Q?wPfNvi3rQYIeQ9YW2VVg/TbzC/kysbo7hkaJSbR/+WtFqRtRD4o5C+tV8d?= =?iso-8859-1?Q?NTcAMkaBUyRnQZ9ukUkqFaLva3JA3K7XP/74oPdd9PyRpfdiqKxZOppx/f?= =?iso-8859-1?Q?Zf4dsxbF1zlQ8LtTl8Cn6eHm9gShi2GUah0amZuQxre4Xbe3jOECf6O7yq?= =?iso-8859-1?Q?XIC7zPLoM+PXOR3p78f3Sb18WJK2uHLNxbizxP74xNu9SF2EGsxAYppBLu?= =?iso-8859-1?Q?kiQU2yU8uvh+iDYddvEZm4ZG57vvOPSZJTAE2kWPN6Nq1HiZM0h2tqyvwq?= =?iso-8859-1?Q?t/BYfIgMYBvXzfl84cV6NfbnTME0l7aYSYzs7d7GECc/VHsb1M7eX+yplR?= =?iso-8859-1?Q?G9SkBBKGPQPCKTplLyzAAgb4B2xkJwWD/AK9IXSSx/J/qRvEWDyYal0B1A?= =?iso-8859-1?Q?rxlPPbUgyraTYsW7XpkEWYNHXVjpJmeI/R7EmgNLTGpu4I7T5AZu5CKOgR?= =?iso-8859-1?Q?8AjB1hN+/0wmyONffwbdW/cJ6zPYb9V1VT3t3Ut8IWM7BmBTTdzSvEQubl?= =?iso-8859-1?Q?1SRN9pGtYoC0SKy4BkyJ4d/g1NWxGqMStH+wtOK6UIHUpZNiM4jLIOF4XU?= =?iso-8859-1?Q?IT1JJcbGs+SfY2WVpJ2j0qWc7l2WMrz4jOe0aOnVsQmShpsj1tzNOByLxX?= =?iso-8859-1?Q?+vdKLkmVDrtxarmDAnj0BNE0gY/9DKxqCfd5ev75NQuV6/I2guWS031L1z?= =?iso-8859-1?Q?CSoQJjMPuR6wW4+9aH07e5juxxtDmBt0tUbTZ/3Mj+J5JxEBzoiEWsvPmY?= =?iso-8859-1?Q?4YPFrvLRUdczE6ZHsHkOVcYNFw8NPvoWi1G2zWp1s0YlV2skypgskGaD60?= =?iso-8859-1?Q?1S5rKhQSgcoBRx1JiKGNTLpvOqwwvWOxyRE5jd0l059/9JAQ7zJEMugeFu?= =?iso-8859-1?Q?6iMHsFMR+3y1aQ=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?q03kxksScb04etgWYHA9vrkfJEQSISHX3pnDDx33XIwDpiO67ZVkwLJNx5?= =?iso-8859-1?Q?kMovRvQOdJZVZfApCOzp8+QNn39z8us3q7wGdOruwdUsLPYa8IvifqAQdK?= =?iso-8859-1?Q?X+yc8arcSE5e4lGU5osbgxHPGLCyqtgDUBzjKCDXGAzkGWaRUsFKy0xwVc?= =?iso-8859-1?Q?WcGSRj9vra/UMA1JqjprpXzUbuahR9e6Vgu0z4GFnB17N9VlUuOHEBE4Da?= =?iso-8859-1?Q?JH7a0BqKWJnXMjnwEQ3YBMMFkS0AGtXQ1F9P/lmVubTEaxOLBet5GYeNnK?= =?iso-8859-1?Q?ZEP4u4Wg871CUGEDNkv3VCR9UZ5UYrf0jGGZ7EKe1KCwbZr9s4G2tia1f4?= =?iso-8859-1?Q?hyASZhiVgCzHe7v/ZPSrs9f2w+DlB+SjX/uOwMcZ927lt6KJ3Z8wfyJFKL?= =?iso-8859-1?Q?GChBCPF1XNXcQHVsSY5gJUK4A6UsA8GX852416XExpjB0cOTogAI1DPwF6?= =?iso-8859-1?Q?8QATbv1WDZiWPkX2oJbwEBmGELxceytXRJVu5hUIHM2ARZVWss70/y7+5k?= =?iso-8859-1?Q?fiuljlowVJDz5x38tVQimPlMmoxUxOg4EjMb2VltMZbMgFRDH67vbSaQCs?= =?iso-8859-1?Q?CyOZlKDCNjdxCo9A7on6ZnZSoco2mhkBNgGRR4y7bT/CO94hbYIg22OX26?= =?iso-8859-1?Q?XAWy8ovP4Nwp29GhOuEhodcL+GTCVFom+thHt+Sb5jvU2eRRU9jJP1As4R?= =?iso-8859-1?Q?rE+a/njKCcxe6AfeT7F/30jYA7E5Y8YcJOiVZq7bc84oYThd5dyZgax56B?= =?iso-8859-1?Q?l98qZke6IDXZh/aqXNoUlS32xAPPY924AAv27g5FhAf2KKGSf+B5ZOSpy7?= =?iso-8859-1?Q?1teHOaGZ1GYzX4qYGE1Y0CvfvcgAGnZTf/mgj2R9ki5L2qlalLH3p7j1oF?= =?iso-8859-1?Q?1gzbtO2hicrBR9hZb8FsYbxbFiYm2ZyRomBpQmLhOaTHNHVz5FIZ79tRHi?= =?iso-8859-1?Q?FOdooK997E2jlVVMaaT7r69368pQ3YI22D4YBSkUwLm17b1cJ1CL6K83OT?= =?iso-8859-1?Q?N+JPCK6vRRlBbp2taYK9uJYlYTKa8XKfsKW/Z5lzLAsC8D4Z2QD7atMzMv?= =?iso-8859-1?Q?3RngVRylLBXLV3ncaP6ZOlkxBTG+wKI9cOHSKLDKK2EI6LmxabVG4FGQNi?= =?iso-8859-1?Q?jQC//k3by6Hhdhp7ALpZtZaR0/lSIt97l0cUbtRr3jtL6se1r1JWquZfIR?= =?iso-8859-1?Q?JjhDp5z0xtFkXOIpNX+j45vqa423lNxyBnlPwR3xGm8OdDERVHraj91HV5?= =?iso-8859-1?Q?yg2ZxvnUALrHt9vj1Mtg=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-15995.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10004.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 97b53944-fab4-4fc1-263b-08dd8fd74899 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2025 15:28:15.5085 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB9810 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 78340 Cc: "78340 <at> debbugs.gnu.org" <78340 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) From:=A0Eli Zaretskii <eliz@HIDDEN>=0A= Sent:=A0Saturday, May 10, 2025 07:03 AM=0A= > Is this with a cold disk cache or a warm disk cache?=A0 IOW, if you=0A= > start Emacs, then kill the Emacs session, and then start it again, do=0A= > you still measure 8 sec or do you measure a significantly shorter time?= =0A= =0A= It's an average time, I run it on same environment ~5 times then cal the va= lue. =0A= =0A= > Also, is your anti-virus software configured to ignore *.eln files in=0A= > the directories where you install them?=A0 The *.eln files are DLLs as=0A= > far as Windows is concerned, so it's executable code, and anti-virus=0A= > software will therefore generally scan them when accessed or loaded,=0A= > which could significantly slow down loading.=0A= =0A= I tested on same environment, with this patch it will speedup Emacs loading= files.=0A= =0A= > Anyway, unless Andrea (CC'ed) enthusiastically embraces this, I don't=0A= > think it's correct to install this feature.=A0 Time stamps are too=0A= > unreliable for this job:=0A= > =0A= >=A0 . it is easy to "fake" file's time using 'touch' 'cp -p' and similar= =0A= >=A0=A0=A0 techniques; in fact, the Emacs "make install" uses that=0A= >=A0 . on a modern system, it is quite possible to have a newer file have= =0A= >=A0=A0=A0 the same time stamp as an older file, due to relatively low=0A= >=A0=A0=A0 resolution of file time stamps=0A= >=A0 . Emacs on MS-Windows has a 1-sec granularity of file time stamps,=0A= >=A0=A0=A0 which makes the above even worse=0A= >=0A= > All of the above means that using the file time stamps risks loading=0A= > incorrect *.eln files, which could crash Emacs.=A0 So up front, I don't= =0A= > think we should have this feature, on Windows or elsewhere.=0A= =0A= The .eln file is named in filename-X-Y.eln format, timestamp change maybe l= ead that Emacs can not find the .eln file, then Emacs will use the .elc/.el= file, still works.=0A= =0A= All these won't compare to a malicious user compiling a .so/.dll file and r= eplacing an exists .eln, reading full content to calculate the file name wo= n't stop that risk.=0A= =0A= This option gives Emacs user a chance to build a faster Emacs on their loca= l, especially for Emacs on Windows. And it's not a default option, won't bo= ther the user who don't build the Emacs themself.=0A=
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at 78340) by debbugs.gnu.org; 10 May 2025 07:03:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 10 03:03:55 2025 Received: from localhost ([127.0.0.1]:43153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDeFW-00059x-Na for submit <at> debbugs.gnu.org; Sat, 10 May 2025 03:03:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56412) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uDeFU-00059f-1d for 78340 <at> debbugs.gnu.org; Sat, 10 May 2025 03:03:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uDeFO-0003D1-Iq; Sat, 10 May 2025 03:03:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=eJ9da91flxR8G2a/Z+G9+aoxBqsybn7kt2g5Lq6wWqI=; b=dcenudYgg2Mg /NkBuSqnjRgpWpeYlJY4xOfvIzyqU9m1okXC+prRE7D4isMPv+kiMDarYpzPgzc6xvmJClHzDZxpG T0sUeJPCubWh8JLpwOxBzs6JTMN0ZQg3FQ0aae112c77CQB+50h2Az4uI7CMrLXgXa4GDcdJZ63Ra N5kdTHwCPaBO0YeRPB+nbQM4cxjSid7u7K0eCW3/zWIMyG+PIcgI7fp1pldfcPXjfYGjUo7G9Td5W OZschqsuMQ05UZqlvTpw02wTM07hx94u2sKucJUi/7BVh3h7+LfIR5KGYte0TxNCQeQTgWP+564fc zVkTlsiPmll4T/Rzepq5EA==; Date: Sat, 10 May 2025 10:03:43 +0300 Message-Id: <864ixtc5gw.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lin Sun <sunlin7@HIDDEN>, Andrea Corallo <acorallo@HIDDEN> In-Reply-To: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> (message from Lin Sun on Sat, 10 May 2025 00:07:52 +0000) Subject: Re: bug#78340: [PATCH] New option for comp *.eln file name by the file timestamp of *.el References: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78340 Cc: 78340 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lin Sun <sunlin7@HIDDEN> > Date: Sat, 10 May 2025 00:07:52 +0000 > > Currently Emacs with native comp will comp .eln file name by the full context of the .el or .el.gz file in function "comp-el-to-eln-rel-filename". > For example, emacs startup will require the simple.elc, then have to read full of simple.el.gz to calculate the name simple-X-Y.eln. > > That's slow on Windows. > > This patch introduced a new option "fts" (file time stamp) for "--with-native-compile", it will let the function "comp-el-to-eln-rel-filename" to get the .eln name by reading the .el/.el.gz file timestamp, make emacs faster on Windows. On my Windows testing env, the Emacs startup up time was reduced from 8s to 6.5s with 386 packages, speedup ~20%. Is this with a cold disk cache or a warm disk cache? IOW, if you start Emacs, then kill the Emacs session, and then start it again, do you still measure 8 sec or do you measure a significantly shorter time? Also, is your anti-virus software configured to ignore *.eln files in the directories where you install them? The *.eln files are DLLs as far as Windows is concerned, so it's executable code, and anti-virus software will therefore generally scan them when accessed or loaded, which could significantly slow down loading. Anyway, unless Andrea (CC'ed) enthusiastically embraces this, I don't think it's correct to install this feature. Time stamps are too unreliable for this job: . it is easy to "fake" file's time using 'touch' 'cp -p' and similar techniques; in fact, the Emacs "make install" uses that . on a modern system, it is quite possible to have a newer file have the same time stamp as an older file, due to relatively low resolution of file time stamps . Emacs on MS-Windows has a 1-sec granularity of file time stamps, which makes the above even worse All of the above means that using the file time stamps risks loading incorrect *.eln files, which could crash Emacs. So up front, I don't think we should have this feature, on Windows or elsewhere. Thanks.
bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 May 2025 00:13:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 09 20:13:13 2025 Received: from localhost ([127.0.0.1]:41468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDXq4-00069p-Se for submit <at> debbugs.gnu.org; Fri, 09 May 2025 20:13:13 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46596) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <sunlin7@HIDDEN>) id 1uDXq2-00069Z-GP for submit <at> debbugs.gnu.org; Fri, 09 May 2025 20:13:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <sunlin7@HIDDEN>) id 1uDXpw-0003s2-CW for bug-gnu-emacs@HIDDEN; Fri, 09 May 2025 20:13:04 -0400 Received: from mail-japanwestazolkn19011033.outbound.protection.outlook.com ([52.103.66.33] helo=OS0P286CU010.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <sunlin7@HIDDEN>) id 1uDXpr-000667-7V for bug-gnu-emacs@HIDDEN; Fri, 09 May 2025 20:13:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=f8iIAm8NcXxUKeGY1nkabM7SheSQ75oiJb3SKah5ZbZXmxpZbZYmOjfHCcpmWIXoXCXYGeU4U/CwtkiMUM0NGUdu1k9tiS1qF0kAyzWcEu1D57jjMPcmLjbJb1cM3tBzaCEogb8JhH5oJdvVXBUNAVyzzyPuZzPq8AImbPCL5qPLrs3FDvB+13eg6IIA7UBiw70b/dtz4elkpc91R945ZpxAZV4T4709jRRJVD7L/1q+cMtjnYyDyIUOiB9pUFIbKtTLTG+Adf0SWP3T0rhpVP2phNJ+hf3uZbTqRigwfvvH6G0UQU/3wf6P12GfrEaFKeMMnxwW+rVkYH63qRbKkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6XBvw9YQn4MV/lLF3kZ3oG3w3QVHsSRFZdYLJgnLoHo=; b=e+bIVZ1suA7180Bxkfm4jr4w7IoMVnOUEJ9ULuM9hddCwReKUwo48aYY1W6jh1nBCqY3yH+mmzad928VG3Et0x8GN980W+LttSOBINTWqSw8M7f2FAR+KTZ3G3J7BRKzoEimGJxm4XMIRmj73DU0FJ4kLew5AhgLBQRg8jAuBzR3JRYT6psbyIhtmzj6WLVAVHAzmWPHKR4mOscqCW57Pm3lAs21iB01KAZ7bwU5T64JyEnTItsHzc6Q0GTLmiADCY+x4J3kjexhj8QMG9oMO1NKlgosXFSh4V2lNdAQo+IHFvND/fVxoV5sGBobLd1tbhfRjbwpnq8vENuy0t4oBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6XBvw9YQn4MV/lLF3kZ3oG3w3QVHsSRFZdYLJgnLoHo=; b=hUiozct1VMuOPrhPYlRi7YrS+a/W0M2hQYHr0YgUFHuLlhy9eZn4DFbkz+X9jmko/I+LersR4LQ6xqHlbXQ2RMmQfsnepE6znU2cGeKQCaLGzz8dWqTgPPmGJZu1oc1x6EHoTwAQh16fq7KAhYBSFY1tEAPKd70cV2bAJ34RDlBisUpKPKc0mN8jBtMO4AftRhYVL9Ds56SeCjeKZNeHdqgJXjvfZqlBZN4pO3uSYtj4xaboI5nONthFYPes8cKbvHjU31YLveSUI1k5NEiv7P7bENIF4Eu3DwOhyKWgd+vyjEYoUNBxULASRI5ehZqtWxekPQPkjMijMXoRKNC3bA== Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com (2603:1096:400:1e8::14) by TYYPR01MB14181.jpnprd01.prod.outlook.com (2603:1096:405:19e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8722.25; Sat, 10 May 2025 00:07:52 +0000 Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com ([fe80::8ecd:43a5:333:1c8]) by TYCPR01MB10004.jpnprd01.prod.outlook.com ([fe80::8ecd:43a5:333:1c8%5]) with mapi id 15.20.8722.024; Sat, 10 May 2025 00:07:52 +0000 From: Lin Sun <sunlin7@HIDDEN> To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> Subject: [PATCH] New option for comp *.eln file name by the file timestamp of *.el Thread-Topic: [PATCH] New option for comp *.eln file name by the file timestamp of *.el Thread-Index: AQHbwTetTQL/37TOcEq8anwh9PGcdA== Date: Sat, 10 May 2025 00:07:52 +0000 Message-ID: <TYCPR01MB10004CCA1C51688FA14DF0167FB8AA@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB10004:EE_|TYYPR01MB14181:EE_ x-ms-office365-filtering-correlation-id: 7b7163b8-b8fe-427b-ec7b-08dd8f56b527 x-ms-exchange-slblob-mailprops: jt3MPKJsIx/l6IYhaH42gND2vLbCWEie9I6+F6vF/KXNFvU5zEpaXUHpIj/qbW27X9j2cHRC1R7InznvLl55YCjDGOQ8gPfvG6N5LYHsTXKfHqVfZKJBNCnV5tziGFCkSsm3Bn48G5DX8MI0BFQjIe6fmlxDNlSjn8tQYMbe8mJ1KXwU8jnp8QW/130/7hquHhI6BXsf1K6++q4M4wlCxA5yyM9X54p975d1FM7lmebideDcjiM+t+AAqDWhre0LJeTNfGGNH50mYSGZPw8YOUdFDwYRYb94g8oD0WipgQ92fiv8jkcen+FlOSCR+Lu/sPAJySB3ZG+R3/ac1subJMYBkmksAdYtQ3TxRnII7eWfomyFVcRpxVx08b+qSbicWc60ywAu8MDGMXlVRPC3PZTNU6FB8DtcFmDCLeU6gIjU9fyPSWYAqnXEIsBSnNffLtvgJYeQhdlOB/Xb/6p8m5U0QeArNBm6ZJinsDtx+ZbjQAawSDyb2N46xWP+aIVvG1XhUcf3G/k7PY+IQQNhuFVbphYj835zpyJBK4ECsvErmVnHvx6v46Smho6BsCNtmQWu79XaNaOVWZI+4sADof1YJiEDJioeAbQSP3LIida0N9Voh5twAUiB8MeWTAW6cT2xjSW/XUsOuGIte2UHzxZir1lsDAg0Js8V6vrz7gbC+PH3FjEnmbAnTdgvpkln4Bt6JWUFMlL3BVQRSemGjBRuyRF3BS6UGP528K8Jugib8L/BzLl6XEP2OgJKIpm4 x-microsoft-antispam: BCL:0; ARA:14566002|461199028|8062599006|8060799009|7092599006|15030799003|15080799009|19110799006|6092099012|440099028|3412199025|13095399003|102099032; x-microsoft-antispam-message-info: =?iso-8859-1?Q?8Djqm5frYXP0poC6YUf76RJ9GSYOhRlqSZPPW0pZi/qlf20uA9pygnvrDS?= =?iso-8859-1?Q?g4B+npyE5WLB5gp4RCMPA0iBguW8tG372EryzSsN65pmOP5oV6arIIdkco?= =?iso-8859-1?Q?lEllLGaSZPHsLqdKdq89lNWH5LjaKVOpr8nQ8l1BqPR5eq103ELIfURS4U?= =?iso-8859-1?Q?hXGP0Fxulefsh+5WKDnkpbUQOSTgIDUQ2phNltoP+gRJRxbPOfyg87uzS2?= =?iso-8859-1?Q?EqJzz7kagI1/nozipvmcTsZuf9JcSbHqWO8IaFyyjysVPOW6EMfc0OwuEK?= =?iso-8859-1?Q?ORHZ91QEUTXRaagZwmA52UO639VjLEf5sFp7NPoMGIACgq62lS57VaSMvC?= =?iso-8859-1?Q?3PulRXF0VR8V/cciGGzPtYOHQC04AbNCj2kQLNpoIB7qCdcfXgLZGtbxNY?= =?iso-8859-1?Q?Qpv3sL7A8qbn+AoosZglH57LzS5Raq6+0JNJQbHi/407plZRjzZjnwWnZ5?= =?iso-8859-1?Q?pKbpdIyzNrea8jorGg2sFeQHUPyE8bC3u7Iz7UvZIRrrzHyKHSmLkt1R0s?= =?iso-8859-1?Q?h6C5UptzhmJ6E4lgEm84wsOIJGdMRSmbf3hsSUbqKvHnkuymWBKPBlvL88?= =?iso-8859-1?Q?FbBOV4VAPj89QFTuaYVsUqr4eEMY5fB3Bfw31sNT74ZKTv4VUQqHQ9kkPF?= =?iso-8859-1?Q?3JQDrsdn6fGd7WK1pafWMK6Ggqr02VgRJmLIe6NgErqJeMutSS3+pVD8Ks?= =?iso-8859-1?Q?44DOt0HOUgJiVTo7S1kWG3uoz1jZgKvC17gIMWyASyWRNp/kO/qw7BAUUM?= =?iso-8859-1?Q?U6aIWNKTM8MWFeTy1emQmqg9Z2J1Jf5UWwiVzkwV+OJcwzppM9HtKHcdDr?= =?iso-8859-1?Q?b6+zdFzR0efRIaLSZv5g+cEEfYnsME8xY3SKN+Jpk8nnGlXaCd4oR1KXyo?= =?iso-8859-1?Q?k6i66EBnbkNdB33btAS+jR7ZSdxpKfNp32sVb1tyqhbhEEMvQ5YmotyYzU?= =?iso-8859-1?Q?JEVrffFNruLlROvmYr4rF0WiSYC4GEBcgm/AP6DYxZX1IvzqBoZ4rIiTEM?= =?iso-8859-1?Q?jnXu6Te09eFPFquxl7+k5HqjmHlGlAG4UqVJMXZn0qs9f/iAI64mekGfpA?= =?iso-8859-1?Q?1J3nZFqu8qVl0BnBlzl9ryKwJNXzsb/d7p3ASugR3bKG0fFX6m9gwAv2e9?= =?iso-8859-1?Q?fulmo6/91I1A3AMx5/uNhQahzVfNKceixI6MWvZc0mz+EXX5tATRCeCsO7?= =?iso-8859-1?Q?0GaVTh/Qnsu/tgtcbJAHBa0agv4S5VpIrtLrUXMJDtHAXqBioJZIQUlfEo?= =?iso-8859-1?Q?xpRH1+4Ne48Zg7EqesuQ=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?ZyVnf5ZJYEHHeoy/DuFYJEwFdkNxTpsPgJwhU6FBDHw2EKHynw8wa4Spyl?= =?iso-8859-1?Q?mTl0DDH2KDs2qeTEtKqSldPvfXKfvMxcf5tymmbrA+Vl2BtU7jdgSblj6j?= =?iso-8859-1?Q?KJfKrK4l6AlkI5yBWkSy7PWV4FMpy3pfbCGSA1sxFEC4AWf4Wns1L6osPY?= =?iso-8859-1?Q?a1ShboQfj3En/FM3gVNkAeTD8uwlTjxVhWRLW2Lat5MNGN/+zfmUMsSJV3?= =?iso-8859-1?Q?n9mibk42ZHS/z0yG4JjS4MZXLe3l2D8jm1xWQOMgayMyjHSKZltmnl25HU?= =?iso-8859-1?Q?N6s8QrqzDxDU4jZHXADT8iEumlHOOypfSbVowtSOe2vEeUeWV6eT8DQ/xh?= =?iso-8859-1?Q?EF3IGVAkGQ1shlPu+N5mrq5U7prMuV88Jrd/EeX2mELaEiPGr0TchPQei9?= =?iso-8859-1?Q?mGIoKxiVNuDt0nBAwL0bxjV1yxsRgmnffhRPFrYQtZBN+23fpsxEFI/83g?= =?iso-8859-1?Q?O0ayT6hpvSEO64UNwfUFVrk9hYqMV7i5T9kjnEuvpDogZWuNnsdLBTjuvq?= =?iso-8859-1?Q?uA28I6nA6gIAb9Y22HwlScKgMN7x+aDXo62ezRBxBKpBMFFyhMEWxm7Oc5?= =?iso-8859-1?Q?TbTtQr1/8CSFnGdiEOzLZFtxAAowlr/4+TgT3n6QdkbkaOCxfeEOSL6d1t?= =?iso-8859-1?Q?w85kqVrjfO5FW1oH6dXUZO8IQIhnPTw2jKMpXDeklfxQeTRWbQ9YicC02V?= =?iso-8859-1?Q?QB302faCJLviAi4Ehi54uNlMXZzK+Y4fOGHWtGHBluPF8EaXwBMco6/Gg+?= =?iso-8859-1?Q?7gxsBc24bvF3n4ml6jeZQaPZ16ZmhRI3XZlehvvg3jtkiuzd7UOh4plZRL?= =?iso-8859-1?Q?e705MDsFKW6xtsKkc+NTLMivfqwm2FImT83Z+53z5kiZqYLFKEfLPlMMTR?= =?iso-8859-1?Q?xSHnqJqQUL7eDpz2FjwWY3yDYf2dwfPjlUfaurqqn5dNkq4nWEQhbf3xhB?= =?iso-8859-1?Q?3Hww7TvQYpuwkXjFH3XfEwrzvEp3ZkBaYy2OLg3go6I0VHn2C/Wbnz47EX?= =?iso-8859-1?Q?zs8+RuuCTrxtcvR2TQCtXbn5vUSFqU2kRk1IS0/2r+n8T6VQ75ykdprDSf?= =?iso-8859-1?Q?GpFQJFbTJpM4cC3EM0iFATnLgUMIxfO6U9lk+KndlEO+s1yWV7UCETuFVX?= =?iso-8859-1?Q?GCYu2hyH77ULiYWguhU8eShesQYoE3qGy+ghguWHN5Sxh28Y9osABNsNGN?= =?iso-8859-1?Q?tICCckny9wkMFadgYcPd3Oama6SgPwVY4PJ8tQiWeFRvlN4WH2/93Q+FUe?= =?iso-8859-1?Q?CEMZmi9zz6njRsAflHKQ=3D=3D?= Content-Type: multipart/mixed; boundary="_002_TYCPR01MB10004CCA1C51688FA14DF0167FB8AATYCPR01MB10004jp_" MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-15995.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10004.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 7b7163b8-b8fe-427b-ec7b-08dd8f56b527 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2025 00:07:52.5651 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYYPR01MB14181 Received-SPF: pass client-ip=52.103.66.33; envelope-from=sunlin7@HIDDEN; helo=OS0P286CU010.outbound.protection.outlook.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Currently Emacs with native comp will comp .eln file name by the full context of the .el or .el.gz file in function "comp-el-to-eln-rel-filename". For example, emacs startup will require the simple.el [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=sunlin7%40hotmail.com; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sunlin7[at]hotmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (sunlin7[at]hotmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.2 (/) --_002_TYCPR01MB10004CCA1C51688FA14DF0167FB8AATYCPR01MB10004jp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi,=0A= =0A= Currently Emacs with native comp will comp .eln file name by the full conte= xt of the .el or .el.gz file in function "comp-el-to-eln-rel-filename".=0A= For example, emacs startup will require the simple.elc, then have to read f= ull of simple.el.gz to calculate the name simple-X-Y.eln. =0A= =0A= That's slow on Windows.=0A= =0A= This patch introduced a new option "fts" (file time stamp) for "--with-nati= ve-compile", it will let the function "comp-el-to-eln-rel-filename" to get = the .eln name by reading the .el/.el.gz file timestamp, make emacs faster o= n Windows. On my Windows testing env, the Emacs startup up time was reduce= d from 8s to 6.5s with 386 packages, speedup ~20%.=0A= =0A= The option can be combined with the exists option "aot", like "--with-nativ= e-compile=3Daot,fts".=0A= =0A= This patch is safe for Emacs Windows release, which building with native co= mpile enabled, but does not ship the libgccjit.dll. So the shipped *.eln is= like constant files, user won't be able to recompile one; then this patch = is safe for the scenario. =0A= =0A= Please help review this new option. Thanks=0A= =0A= Best Regards=0A= Lin= --_002_TYCPR01MB10004CCA1C51688FA14DF0167FB8AATYCPR01MB10004jp_ Content-Type: text/x-patch; name="0001-New-option-for-comp-.eln-file-name-by-the-file-times.patch" Content-Description: 0001-New-option-for-comp-.eln-file-name-by-the-file-times.patch Content-Disposition: attachment; filename="0001-New-option-for-comp-.eln-file-name-by-the-file-times.patch"; size=3996; creation-date="Sat, 10 May 2025 00:07:12 GMT"; modification-date="Sat, 10 May 2025 00:07:12 GMT" Content-Transfer-Encoding: base64 RnJvbSBhODk4YTNjMmNmZWM4NTdhNjc3ZWY1NGZkNGM0ZTQ5ZTRlYzZiYWNiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMaW4gU3VuIDxzdW5saW43QGhvdG1haWwuY29tPgpEYXRlOiBN b24sIDUgTWF5IDIwMjUgMDY6MzA6MDIgKzAwMDAKU3ViamVjdDogW1BBVENIXSBOZXcgb3B0aW9u IGZvciBjb21wICouZWxuIGZpbGUgbmFtZSBieSB0aGUgZmlsZSB0aW1lc3RhbXAgb2YKICouZWwK CiogY29uZmlndXJlLmFjOiBOZXcgb3B0aW9uICJmdHMiIGZvciBuYXRpdmUgY29tcGlsYXRpb24K KiBzcmMvY29tcC5jOiBIYXNoIHRoZSBmaWxlIHRpbWUgc3RhbXAgaW5zdGVhZCBvZiBmaWxlIGZ1 bGwgY29udGVudAotLS0KIGNvbmZpZ3VyZS5hYyB8IDM4ICsrKysrKysrKysrKysrKysrKysrKysr KysrKystLS0tLS0tLS0tCiBzcmMvY29tcC5jICAgfCAxNCArKysrKysrKysrKysrKwogMiBmaWxl cyBjaGFuZ2VkLCA0MiBpbnNlcnRpb25zKCspLCAxMCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQg YS9jb25maWd1cmUuYWMgYi9jb25maWd1cmUuYWMKaW5kZXggZmRkYjJiOWJlM2MuLjdkYTMxNzE4 OTI2IDEwMDY0NAotLS0gYS9jb25maWd1cmUuYWMKKysrIGIvY29uZmlndXJlLmFjCkBAIC0xNzMy LDYgKzE3MzIsNyBAQCBBQ19ERUZVTgogCSAgIFtnbF9HQ0NfVkVSU0lPTl9JRkVMU0UoWzVdLCBb M10sIFtnbF9nY2Nfd2FybmluZ3M9d2Fybi1vbmx5XSldKV0pXSldKQogCiBOQVRJVkVfQ09NUElM QVRJT05fQU9UPW5vCitFTkFCTEVfTkFUSVZFX0NPTVBfRlRTPW5vCiBBQ19BUkdfV0lUSChbbmF0 aXZlLWNvbXBpbGF0aW9uXSwKICAgW0FTX0hFTFBfU1RSSU5HKFstLXdpdGgtbmF0aXZlLWNvbXBp bGF0aW9uQDw6QD1UWVBFQDo+QF0sCiAgICAgICAgICAgICAgICAgICBbY29tcGlsZSB3aXRoIEVt YWNzIExpc3AgbmF0aXZlIGNvbXBpbGVyIHN1cHBvcnQuICBUaGUgVFlQRQpAQCAtMTczOSwyMCAr MTc0MCwzMyBAQCBBQ19ERUZVTgogCQkgICBwcmVsb2FkZWQgTGlzcCBmaWxlczsgJ25vJyBtZWFu cyB0byBkaXNhYmxlIGl0OwogCQkgICAnYW90JyB3aWxsIG1ha2UgdGhlIGJ1aWxkIHByb2Nlc3Mg Y29tcGlsZSBhbGwgdGhlIExpc3AKIAkJICAgZmlsZXMgaW4gdGhlIHRyZWUgbmF0aXZlbHkgYWhl YWQgb2YgdGltZS4gIChUaGlzIHdpbGwKLQkJICAgdXN1YWxseSBiZSBxdWl0ZSBzbG93LildKV0s CisJCSAgIHVzdWFsbHkgYmUgcXVpdGUgc2xvdy4pIEFkZHRpb25hbCAnZnRzJyB3aWxsIGxldCB0 aGUgRW1hY3MKKwkJICAgbG9jYXRlIGEgZWxuIGZpbGUgYmFzZWQgb24gZmlsZSB0aW1lIHN0YW1w IG90aGVydGhhbgorCQkgICBkZWZhdWx0IGZ1bGwgY29udGVudCBvZiBhIGVsYyBmaWxlLl0pXSwK ICAgWwotICBjYXNlICR3aXRodmFsIGluCi0gICAgIGFvdCkKLSAgICAgICB3aXRodmFsPXllcwot ICAgICAgIE5BVElWRV9DT01QSUxBVElPTl9BT1Q9eWVzCi0gICAgICAgOzsKLSAgICAgeWVzfG5v KSA7OwotICAgICAqKSAgICAgIEFDX01TR19FUlJPUihbYmFkIHZhbHVlICR3aXRodmFsIGZvciBu YXRpdmUtY29tcGlsYXRpb24gb3B0aW9uXSkgOzsKLSAgIGVzYWMKLSAgIHdpdGhfbmF0aXZlX2Nv bXBpbGF0aW9uPSR3aXRodmFsXSwKKyAgSUZTPSIke0lGUz0JfSI7IGFjX3NhdmVfSUZTPSIkSUZT IjsgSUZTPSIkSUZTLCIKKyAgZm9yIHZhbCBpbiAkd2l0aHZhbDsgZG8KKyAgICBjYXNlICR2YWwg aW4KKyAgICAgIGFvdCkgTkFUSVZFX0NPTVBJTEFUSU9OX0FPVD15ZXMgOzsKKyAgICAgIGZ0cykg RU5BQkxFX05BVElWRV9DT01QX0ZUUz15ZXMgOzsKKyAgICAgIHllc3xubykgOzsKKyAgICAgICop ICAgICAgQUNfTVNHX0VSUk9SKFtiYWQgdmFsdWUgJHdpdGh2YWwgZm9yIG5hdGl2ZS1jb21waWxh dGlvbiBvcHRpb25dKSA7OworICAgIGVzYWMKKyAgICBJRlM9IiRhY19zYXZlX0lGUyIKKyAgICBp ZiB0ZXN0ICIkRU5BQkxFX05BVElWRV9DT01QX0ZUUyIgPSAieWVzIiBcCisgICAgICB8fCB0ZXN0 ICJFTkFCTEVfTkFUSVZFX0NPTVBfRlRTIiA9ICJ5ZXMiOyB0aGVuCisgICAgICBpZiB0ZXN0ICIk d2l0aF9uYXRpdmVfY29tcGlsYXRpb24iID0gIm5vIjsgdGhlbgorCSAgQUNfTVNHX0VSUk9SKFti YWQgdmFsdWUgJHdpdGh2YWwgZm9yIG5hdGl2ZS1jb21waWxhdGlvbiBvcHRpb25dKQorICAgICAg ZWxzZQorCSAgd2l0aF9uYXRpdmVfY29tcGlsYXRpb249eWVzCisgICAgICBmaQorICAgIGZpCisg IGRvbmUKKyAgXSwKICAgW3dpdGhfbmF0aXZlX2NvbXBpbGF0aW9uPWRlZmF1bHRdCiApCiBBQ19T VUJTVChbTkFUSVZFX0NPTVBJTEFUSU9OX0FPVF0pCitBQ19TVUJTVChbRU5BQkxFX05BVElWRV9D T01QX0ZUU10pCiAKIEFDX0FSR19FTkFCTEUoW2NoZWNrLWxpc3Atb2JqZWN0LXR5cGVdLAogICBb QVNfSEVMUF9TVFJJTkcoWy0tZW5hYmxlLWNoZWNrLWxpc3Atb2JqZWN0LXR5cGVdLApAQCAtNTI3 Myw2ICs1Mjg3LDEwIEBAIEFDX0RFRlVOCiAgICAgQUNfREVGSU5FKFtIQVZFX05BVElWRV9DT01Q XSwgWzFdLAogICAgICAgW0RlZmluZSB0byAxIGlmIG5hdGl2ZSBjb21waWxlciBpcyBhdmFpbGFi bGUuXSkKIAorICAgIGlmIHRlc3QgIiRFTkFCTEVfTkFUSVZFX0NPTVBfRlRTIiA9ICJ5ZXMiOyB0 aGVuCisgICAgICBBQ19ERUZJTkUoW0VOQUJMRV9OQVRJVkVfQ09NUF9GVFNdLCBbMV0sCisgICAg ICAgIFtEZWZpbmUgdG8gMSBpZiBuYXRpdmUtY29tcGlsYXRpb24gYmFzZWQgb24gZmlsZSB0aW1l c3RhbXAuXSkKKyAgICBmaQogICAgIENGTEFHUz0kU0FWRV9DRkxBR1MKICAgICBMSUJTPSRTQVZF X0xJQlMKIGZpCmRpZmYgLS1naXQgYS9zcmMvY29tcC5jIGIvc3JjL2NvbXAuYwppbmRleCAyMTlh NDgyOTMxZS4uOTRmYjc3YTZjMzAgMTAwNjQ0Ci0tLSBhL3NyYy9jb21wLmMKKysrIGIvc3JjL2Nv bXAuYwpAQCAtMzAsNiArMzAsNyBAQAogI2luY2x1ZGUgPHNpZ25hbC5oPgogI2luY2x1ZGUgPGxp YmdjY2ppdC5oPgogI2luY2x1ZGUgPGVwYXRocy5oPgorI2luY2x1ZGUgPHN0YXQtdGltZS5oPgog CiAjaW5jbHVkZSAid2luZG93LmgiCiAjaW5jbHVkZSAiZHlubGliLmgiCkBAIC03MzgsNiArNzM5 LDE4IEBAIGNvbXBfaGFzaF9zb3VyY2VfZmlsZSAoTGlzcF9PYmplY3QgZmlsZW5hbWUpCiAJICAg ICAgZmlsZW5hbWUpOwogI2VuZGlmCiAgIExpc3BfT2JqZWN0IGVuY29kZWRfZmlsZW5hbWUgPSBF TkNPREVfRklMRSAoZmlsZW5hbWUpOworI2lmZGVmIEVOQUJMRV9OQVRJVkVfQ09NUF9GVFMKKyAg c3RydWN0IHN0YXQgc3QxOworICBMaXNwX09iamVjdCBkaWdlc3QgPSBtYWtlX3VuaW5pdF9zdHJp bmcgKE1ENV9ESUdFU1RfU0laRSAqIDIpOworICAodm9pZClpc19nejsJCQkvKiBVU1VFRCAqLwor ICBpZiAoZW1hY3NfZnN0YXRhdCAoQVRfRkRDV0QsIFNTREFUQSAoZW5jb2RlZF9maWxlbmFtZSks ICZzdDEsIDApID09IDApCisgICAgeworICAgICAgc3RydWN0IHRpbWVzcGVjIHRzID0gZ2V0X3N0 YXRfbXRpbWUoJnN0MSk7CisgICAgICBtZDVfYnVmZmVyICgoY2hhciAqKSZ0cywgc2l6ZW9mICh0 cyksIFNTREFUQSAoZGlnZXN0KSk7CisgICAgfQorICBlbHNlCisgICAgeHNpZ25hbDIgKFFmaWxl X25vdGlmeV9lcnJvciwgYnVpbGRfc3RyaW5nICgiaGFzaGluZyBmYWlsZWQiKSwgZmlsZW5hbWUp OworI2Vsc2UKICAgRklMRSAqZiA9IGVtYWNzX2ZvcGVuIChTU0RBVEEgKGVuY29kZWRfZmlsZW5h bWUpLCBpc19neiA/ICJyYiIgOiAiciIpOwogCiAgIGlmICghZikKQEAgLTc1Niw2ICs3NjksNyBA QCBjb21wX2hhc2hfc291cmNlX2ZpbGUgKExpc3BfT2JqZWN0IGZpbGVuYW1lKQogCiAgIGlmIChy ZXMpCiAgICAgeHNpZ25hbDIgKFFmaWxlX25vdGlmeV9lcnJvciwgYnVpbGRfc3RyaW5nICgiaGFz aGluZyBmYWlsZWQiKSwgZmlsZW5hbWUpOworI2VuZGlmCiAKICAgaGV4YnVmX2RpZ2VzdCAoU1NE QVRBIChkaWdlc3QpLCBTU0RBVEEgKGRpZ2VzdCksIE1ENV9ESUdFU1RfU0laRSk7CiAKLS0gCjIu MzQuMQoK --_002_TYCPR01MB10004CCA1C51688FA14DF0167FB8AATYCPR01MB10004jp_--
Lin Sun <sunlin7@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#78340
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.