From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: convert regex.c, strftime.c mktime.c to standard C Date: Sun, 21 Nov 2010 18:25:43 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <201011201200.06827.bruno@clisp.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290360408 12522 80.91.229.12 (21 Nov 2010 17:26:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 17:26:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 21 18:26:41 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKDgT-0002x5-4C for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 18:26:37 +0100 Original-Received: from localhost ([127.0.0.1]:46066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKDgS-0008IQ-3Z for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 12:26:36 -0500 Original-Received: from [140.186.70.92] (port=58532 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKDfv-00084K-R6 for emacs-devel@gnu.org; Sun, 21 Nov 2010 12:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKDfq-0001et-Ow for emacs-devel@gnu.org; Sun, 21 Nov 2010 12:26:03 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:56774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKDfq-0001e9-6z for emacs-devel@gnu.org; Sun, 21 Nov 2010 12:25:58 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PKDfm-0002bF-3w for emacs-devel@gnu.org; Sun, 21 Nov 2010 18:25:54 +0100 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Nov 2010 18:25:54 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Nov 2010 18:25:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWLlZ8KBwaAhoru8fW6 yNwgIBljZWGtvdGWo7Kgr8J9m8H8AAACUklEQVQ4jWWSwWvbMBTGH4a52VEHB3YLgprurMLWW1gM bo8a2OdQaq07z0zzTYSRyrfRhdr6b/c9KdlSJnCI3k/f970nm2jheZFcEVG+8t4tHJGUeLJMyowk H+i2+EE9Y2DKXVnmTl6g0LWs47oByN1+Xzp6QqVrDCy5zqB0Ly85ACua1si4SqKtpN0uI3r6JVdd 07RSrhJgnkkGtGBwnyRELrbrGJBJIHaFLkMIs/djcFlSrOIcCQTvp6p2pTEmTpqAj4rQ97WDeZwk gXEMc/DzBM1MaXG4Z3v2GqeqGmbv0A3SoyKF+LGvajblO6V/4Y4Wh6qy4dg9O0Eys1oC1AN3Ho8B zKlePlRIOfoe31N8B5fvlIKZDVDRaY5o+Vup66q20xASGINlA9srBtZOiIwZo7V2wFMBQIANh0ZB WlWKAAgRhDDFeo+eIOg3a0wMwHMnAS8O+t6+RTcLBlN1FFR2o1SuPwPEi+rV7WKKThBcX+ria4gZ B6XWZttzAgQfOyGWPPkYsFs3xZeqj+C50UJsKUSB+qRFO9nolDNYEow3CYhHyz3dlE0jhCA4ow4r oZur6Rv+dQlMfQK8ba8g3nWw0oKtIsC3pot7RMCpEYXg8AT4YItmI2ArewKFFsWDek4RAMNfgMGK xzzVBdk6glvTaYOWC5Pqgg71sImg0S2AKPQJ2ARKgOPhBEIYMZW6AyhegR9+OgIhXivOQHEO5rFn cFOeH2fgLu42J8VrcBh+AnzIz8BSc7u39BRBdwbeANSUvWeQnQHxiGt/NuZ/sNzrP/fPS5XNHq2a AAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Ruth's =?iso-8859-1?Q?=5FPolaro=EFd-Roman-Photo=5F=3A?= "She Brings The Rain" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:rE+1VRzEOjKAAY0JlnNsSmdMnks= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132967 Archived-At: Richard Stallman writes: > That would be totally useless for Emacs. Copying the whole Emacs > buffer in that way just once could cause a delay big enough for > the user to see. If typical code snippets like (while (re-search-forward "..." nil t) ...) copies the entire buffer for each re-search-forward call, then it's not something that Emacs could use, I think. But I wonder what the performance impact would be if functions like `re-search-forward' just moved the gap somewhere (to before point, for instance?). Then the regex functions could just work directly on the buffer, but without knowledge of the gap. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen