From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herring, Davis" Newsgroups: gmane.emacs.devel Subject: RE: Enlarge MAX_ALLOCA? Date: Fri, 20 Jun 2014 15:15:57 +0000 Message-ID: References: <83sin0sx98.fsf@gnu.org> <83lhsssq1b.fsf@gnu.org> <83ionwrrc6.fsf@gnu.org> <83zjh7ra6a.fsf@gnu.org>, NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403277408 24536 80.91.229.3 (20 Jun 2014 15:16:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2014 15:16:48 +0000 (UTC) Cc: "handa@gnu.org" , "emacs-devel@gnu.org" To: Stefan Monnier , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 20 17:16:39 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wy0YR-0000rn-54 for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2014 17:16:39 +0200 Original-Received: from localhost ([::1]:41532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy0YQ-000530-Lq for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2014 11:16:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy0YD-0004nd-JY for emacs-devel@gnu.org; Fri, 20 Jun 2014 11:16:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wy0Y4-0005W2-BB for emacs-devel@gnu.org; Fri, 20 Jun 2014 11:16:25 -0400 Original-Received: from proofpoint5.lanl.gov ([204.121.3.53]:59666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy0Xq-0005Rz-Jr; Fri, 20 Jun 2014 11:16:02 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailgate5.lanl.gov (8.14.5/8.14.5) with ESMTP id s5KFFwoU032604; Fri, 20 Jun 2014 09:15:58 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 483E7E92921; Fri, 20 Jun 2014 09:15:58 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from ECS-EXG-P-CH07.win.lanl.gov (ecs-exg-p-ch07.win.lanl.gov [128.165.106.17]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 397E1E927DD; Fri, 20 Jun 2014 09:15:58 -0600 (MDT) Original-Received: from ECS-EXG-P-MB01.win.lanl.gov ([169.254.1.125]) by ECS-EXG-P-CH07.win.lanl.gov ([128.165.106.17]) with mapi id 14.03.0181.006; Fri, 20 Jun 2014 09:15:58 -0600 Thread-Topic: Enlarge MAX_ALLOCA? Thread-Index: AQHPi9gGmEWYzPZy+EKQSvlYZeMf0Jt6FGlJgAAGlhM= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.165.184.250] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.14, 0.0.0000 definitions=2014-06-20_06:2014-06-20, 2014-06-20, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 204.121.3.53 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172575 Archived-At: > - see if we can allocate this area less frequently (e.g. if it's for=0A= > =A0 handling compositions, it seems like it shouldn't be needed in your= =0A= > =A0 cases where you encode file names (or do your file names have parts= =0A= > =A0 that require compositions?)). =A0I.e. delay the allocation to when we= =0A= > =A0 really need it.=0A= =0A= We could also allocate it less frequently by allocating it statically (unle= ss en/decoding can be reentrant, which seems unlikely).=0A= =0A= Davis=0A=