From xemacs-m  Fri Jan 10 22:35:30 1997
Received: from UCSD.EDU (mailbox1.ucsd.edu [132.239.1.53])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id WAA26299 for <xemacs-beta@xemacs.org>; Fri, 10 Jan 1997 22:35:29 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.3/8.6.9) with SMTP id UAA19879 for <xemacs-beta@xemacs.org>; Fri, 10 Jan 1997 20:35:29 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id UAA24951; Fri, 10 Jan 1997 20:33:17 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>
Subject: Re: Inserting into a buffer.
References: <Pine.SGI.3.95.961219034733.22578D-100000@shellx.best.com> <rvn2v965c3.fsf@sdnp5.ucsd.edu> <m24thhawcp.fsf@altair.xemacs.org> <rvvi96m11p.fsf@sdnp5.ucsd.edu> <kigohexpnqc.fsf@jagor.srce.hr> <m23ew9xitw.fsf@altair.xemacs.org>
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
From: David Moore <dmoore@UCSD.EDU>
In-Reply-To: Steven L Baur's message of 10 Jan 1997 14:32:11 -0800
Lines: 31
X-Mailer: Red Gnus v0.80/XEmacs 19.15
Date: 10 Jan 1997 20:33:16 -0800
Message-ID: <rv7mlkzv8z.fsf@sdnp5.ucsd.edu>

Steven L Baur <steve@miranova.com> writes:

> Hrvoje Niksic writes:
> 
> > David Moore (dmoore@ucsd.edu) wrote:
> >> Steven L Baur <steve@miranova.com> writes:
> >> > That must be coming from the relocating allocator.  Try running the
> >> > same test with it disabled from configure.
> 
> > Speaking of which, does Emacs have something like the relocating
> > alocator?
> 
> Yes.  Guess who told rms about it? :-)

	The current relocating allocater in emacs 19.34 is based on gnu
malloc and doesn't use mmap at all, just uses sbrk.  And moves things
around in the normal heap to be able to release space, as far as I can
tell.

	I've been peering at our allocator and I think it can be made
much smarter.  And personally I tend to prefer the mmap approach, if it
can be made faster.

Thoughts?


-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    |

