From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs bzr memory footprint Date: Fri, 21 Oct 2011 22:18:36 +0200 Message-ID: <83liseqesj.fsf@gnu.org> References: <83fwix2osa.fsf@gnu.org> <0B3EE7A4-D0D6-4D1E-ADC4-0BEE68F179B2@mit.edu> <87fwivwp37.fsf@turtle.gmx.de> <87sjmvpmd2.fsf@lifelogs.com> <87aa93wmc4.fsf@turtle.gmx.de> <87sjmnrdjw.fsf@spindle.srvr.nix> <87ty73mc0m.fsf@spindle.srvr.nix> <4EA19111.7060401@yandex.ru> <87r526yzcf.fsf@wanadoo.es> <87k47ykvmm.fsf@spindle.srvr.nix> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1319228349 11974 80.91.229.12 (21 Oct 2011 20:19:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2011 20:19:09 +0000 (UTC) Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Nix Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 21 22:19:03 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RHLYU-0002nu-5G for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2011 22:19:02 +0200 Original-Received: from localhost ([::1]:48487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHLYT-0007tg-1w for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2011 16:19:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHLYQ-0007tb-Ca for emacs-devel@gnu.org; Fri, 21 Oct 2011 16:18:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHLYP-0006sl-5o for emacs-devel@gnu.org; Fri, 21 Oct 2011 16:18:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHLYO-0006sW-Vl for emacs-devel@gnu.org; Fri, 21 Oct 2011 16:18:57 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LTF00900MX2NK00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 21 Oct 2011 22:18:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LTF009ISN2VHT60@a-mtaout22.012.net.il>; Fri, 21 Oct 2011 22:18:33 +0200 (IST) In-reply-to: <87k47ykvmm.fsf@spindle.srvr.nix> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:145411 Archived-At: > From: Nix > Date: Fri, 21 Oct 2011 20:11:29 +0100 > Cc: emacs-devel@gnu.org > > I'd be scared to trust my data to this one. Don't be. It's well tested on many platforms, and the Windows build still uses it. I don't think there are any bug reports related to it. > Emacs relies on all of these allocating the buffer storage in a single > (virtually) contiguous chunk (modulo the gap) The buffer text is a contiguous chunk of memory; the gap is just a portion of that chunk ready to receive inserted text.