MESSAGE
DATE | 2024-02-14 |
FROM | Joe Schaefer
|
SUBJECT | Re: [Hangout - NYLXS] how to make :Sealed subs reentrant...
|
From hangout-bounces-at-nylxs.com Sun Feb 18 23:47:54 2024 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 38E6F164112; Sun, 18 Feb 2024 23:47:52 -0500 (EST) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id C53781640C9; Sun, 18 Feb 2024 23:45:59 -0500 (EST) Resent-From: Ruben Safir Resent-Date: Sun, 18 Feb 2024 23:45:59 -0500 Resent-Message-ID: <20240219044559.GN20445-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.apache.org", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mrbrklyn.com (Postfix) with ESMTPS id 7CAE51640AB for ; Wed, 14 Feb 2024 15:09:47 -0500 (EST) Received: from mail.apache.org (mailgw-he-de.apache.org [IPv6:2a01:4f8:c2c:d4aa::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with ESMTPS id 70A4369061 for ; Wed, 14 Feb 2024 20:09:45 +0000 (UTC) Received: (qmail 1892223 invoked by uid 998); 14 Feb 2024 20:09:41 -0000 Mailing-List: contact modperl-help-at-perl.apache.org; run by ezmlm Precedence: bulk Delivered-To: mailing list modperl-at-perl.apache.org Received: (qmail 1892210 invoked by uid 116); 14 Feb 2024 20:09:40 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.94) with ESMTP; Wed, 14 Feb 2024 20:09:40 +0000 Authentication-Results: apache.org; auth=none Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id E661AC11F4 for ; Wed, 14 Feb 2024 20:09:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: -0.01 X-Spam-Level: X-Spam-Status: No, score=-0.01 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=sunstarsys.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id slw6x-Pf91l6 for ; Wed, 14 Feb 2024 20:09:39 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::42b; helo=mail-pf1-x42b.google.com; envelope-from=joe-at-sunstarsys.com; receiver= Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 1C5057E5DF for ; Wed, 14 Feb 2024 20:09:39 +0000 (UTC) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6e0ac91e1e9so151514b3a.3 for ; Wed, 14 Feb 2024 12:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunstarsys.com; s=google; t=1707941376; x=1708546176; darn=perl.apache.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=QCHe3q+v+TmCThNkcGiqOxCWbCAOYlAEupLB7nq7hec=; b=ZFgcygn+6yVhAP6bO4mVgSPsUMwaJWAMjkuMZPqRUeKu4zVZzEfStjmrOx4cZfShwl 8rqmaVt3X8Os0K82lgVqJ8T0jFoUM3Q9aKfLy/xWmEfY2h03Mq7q8+Jy/tAieWJ46nVp 5b/fz8CZAIg9sOlRRw59YtuxphXJwPMD7Nfxiyr9uH17AnCYLCbtdv3IKuZePBbhOOHp A7NKDejij+WVaPgzCtDzR+MejGLaXX057eD/5vWrr7EuLnmabq7h4X/mHklGDQQywEmD oliTrmx9Q4ueX5k4kkC5/djk4iekzqG4Gr2S4VnoXRtz1+FFKBYKdVVpkoDrRt/RTEy8 rd6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707941376; x=1708546176; 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=QCHe3q+v+TmCThNkcGiqOxCWbCAOYlAEupLB7nq7hec=; b=DgdRgBLoDgYgyrFyHbTxSGsQoRas+ZsoW9HalRQe0Jj4HgfVM4Mrf4tLjRtjczf8p6 RRMA4zl/pI1RJFaHBiPy7NSnTlzsYbAts7f8YFMp6WLBDkyEidMTwaAifxTlsU2GPsmE Tii4U+ae/bR6Y5GSwHnBlf769MOjCYdyVsRmgWEdaStguogpn+iox0Ui7c5T1kv5mS6N Ih6e5eijvQ6eQ+EATeYCYeBjAD6qf2tfjxjIpw7z9k0Iv+Jz8ZxUF6OuemDah5csJvjP DJUnUnz5skgWMBYGMTsSQRu7XMe0hMDXj+JEz4tRxgUn0vMNBvk0X/hE9+aVbCHI9f79 +7xQ== X-Gm-Message-State: AOJu0Yy5vBQDJ+AUqFIRV9xyoCElwmqyc1q+hyQcmwOq4VYI5W1CokE8 cJ6MraxFdn0bJdPy7NWM4H3w1F7i2dvtUFoTKe5M7tBYYDgbxeRXJH8/6wCymlcnqihUJdjSK/h 5Qy1ZNZZVwueDrrJHA7eGfFKpJi4w23UhuaoyuQ== X-Google-Smtp-Source: AGHT+IHaBfyZR0LtnG19ZAfYcuetKeuH+pgbcKpT87caf7irLmSjhs+9JVE/kFreW7mAWFYYWTxRKnxv9YlEtIlY5dY= X-Received: by 2002:a05:6a00:939f:b0:6e0:6140:5e1 with SMTP id ka31-20020a056a00939f00b006e0614005e1mr4108192pfb.25.1707941376184; Wed, 14 Feb 2024 12:09:36 -0800 (PST) MIME-Version: 1.0 References: <1C0946A3-5FEA-45F9-900C-D452E219AF2F-at-gmail.com> <74393C48-F8BB-4D70-A768-CBEA20F3EFB5-at-gmail.com> In-Reply-To: <74393C48-F8BB-4D70-A768-CBEA20F3EFB5-at-gmail.com> From: Joe Schaefer Date: Wed, 14 Feb 2024 15:09:25 -0500 Message-ID: To: Ed Sabol Cc: mod_perl list Subject: Re: [Hangout - NYLXS] how to make :Sealed subs reentrant... X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.30rc1 List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1400695682==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============1400695682== Content-Type: multipart/alternative; boundary="00000000000006691c06115d176e"
--00000000000006691c06115d176e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Personally, after all the work I have done over the past 25 years to make mod_perl what it is today, I could care less about making it easy for other people to avoid patching source code to perl itself.
If you don't like the performance gains of using :Sealed subroutines on your mod_perl handlers, you can always not use it.
On Wed, Feb 14, 2024 at 2:42=E2=80=AFPM Ed Sabol w= rote:
> On Feb 14, 2024, at 2:27 PM, Joe Schaefer wrote: > > sealed.pm is really only necessary in a mod_perl context. And really it > only matters if you are using subrequests to reenter :Sealed handlers. > Otherwise I don't see the point of the exercise. > > Well, I suppose one point of the exercise would that a person who wants t= o > do this wouldn't have patch and compile Perl, but if you don't think > there's any value in that, then OK. > > Regards, > Ed > >
--00000000000006691c06115d176e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Personally, after all the work I have done over the past 2= 5 years to make mod_perl what it is today, I could care less about making i= t easy for other people to avoid patching source code to perl itself. <= br> If you don't like the performance gains of using :Sealed = subroutines on your mod_perl handlers, you can always not use it. v> class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex">On Feb 14, 2024, at 2:27 PM, Joe Scha= efer <joe-at-sunsta= rsys.com> wrote:
> seal= ed.pm is really only necessary in a mod_perl context. And really it onl= y matters if you are using subrequests to reenter :Sealed handlers.=C2=A0 O= therwise I don't see the point of the exercise.
Well, I suppose one point of the exercise would that a person who wants to = do this wouldn't have patch and compile Perl, but if you don't thin= k there's any value in that, then OK.
Regards,
Ed
--00000000000006691c06115d176e-- --===============1400695682== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout --===============1400695682==-- --===============1400695682== Content-Type: multipart/alternative; boundary="00000000000006691c06115d176e" --00000000000006691c06115d176e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Personally, after all the work I have done over the past 25 years to make mod_perl what it is today, I could care less about making it easy for other people to avoid patching source code to perl itself. If you don't like the performance gains of using :Sealed subroutines on your mod_perl handlers, you can always not use it. On Wed, Feb 14, 2024 at 2:42=E2=80=AFPM Ed Sabol w= rote:
> On Feb 14, 2024, at 2:27 PM, Joe Schaefer wrote: > > sealed.pm is really only necessary in a mod_perl context. And really it > only matters if you are using subrequests to reenter :Sealed handlers. > Otherwise I don't see the point of the exercise. > > Well, I suppose one point of the exercise would that a person who wants t= o > do this wouldn't have patch and compile Perl, but if you don't think > there's any value in that, then OK. > > Regards, > Ed > >
--00000000000006691c06115d176e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Personally, after all the work I have done over the past 2= 5 years to make mod_perl what it is today, I could care less about making i= t easy for other people to avoid patching source code to perl itself. <= br> If you don't like the performance gains of using :Sealed = subroutines on your mod_perl handlers, you can always not use it. v> class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex">On Feb 14, 2024, at 2:27 PM, Joe Scha= efer <joe-at-sunsta= rsys.com> wrote:
> seal= ed.pm is really only necessary in a mod_perl context. And really it onl= y matters if you are using subrequests to reenter :Sealed handlers.=C2=A0 O= therwise I don't see the point of the exercise.
Well, I suppose one point of the exercise would that a person who wants to = do this wouldn't have patch and compile Perl, but if you don't thin= k there's any value in that, then OK.
Regards,
Ed
--00000000000006691c06115d176e-- --===============1400695682== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout --===============1400695682==-- |
|