From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: request for review: Doing direct file I/O in Emacs Lisp Date: Tue, 11 May 2004 00:40:15 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87vfj4uzzs.fsf-monnier+emacs@gnu.org> <878yg0rvr3.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1084229718 28540 80.91.224.253 (10 May 2004 22:55:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 May 2004 22:55:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 11 00:55:02 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNJX9-0000ku-00 for ; Tue, 11 May 2004 00:46:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNJX9-0004Nt-00 for ; Tue, 11 May 2004 00:46:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNJTb-0004Qz-Bv for emacs-devel@quimby.gnus.org; Mon, 10 May 2004 18:42:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNJT0-0004O3-HB for emacs-devel@gnu.org; Mon, 10 May 2004 18:41:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNJSU-00046M-IR for emacs-devel@gnu.org; Mon, 10 May 2004 18:41:45 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1BNJS3-0003tj-Qe for emacs-devel@gnu.org; Mon, 10 May 2004 18:40:48 -0400 Original-Received: (qmail 3359 invoked by uid 65534); 10 May 2004 22:40:45 -0000 Original-Received: from dialin-145-254-133-194.arcor-ip.net (EHLO GERTRUD) (145.254.133.194) by mail.gmx.net (mp027) with SMTP; 11 May 2004 00:40:45 +0200 X-Authenticated: #1497658 Original-To: Stefan Monnier In-Reply-To: <878yg0rvr3.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "10 May 2004 14:21:54 -0400") X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23092 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23092 Stefan Monnier writes: [...] > While I like code to be functional, I must say that from a memory management > point of view, buffer modifications are significantly more efficient than > string manipulation. > So the other approach you suggest might indeed be cleaner, but it might > also turn out to stress Emacs's GC too hard and the performance might suck. [...] Ah, o.k. Too bad. Thank you for the clarification, anyways. Oliver -- Oliver Scholz 23 Floréal an 212 de la Révolution Ostendstr. 61 Liberté, Egalité, Fraternité! 60314 Frankfurt a. M.