comparison lisp/=gnusmisc.el @ 1087:6c410cc87574

* ralloc.c (r_re_alloc): Instead of allocating a new bloc at the end of the heap, copying the data to it, and then freeing the original bloc, just expand the original block. This saves a copy and a call to sbrk, and also removes the large spike in memory allocation that would occur when resizing large buffers. And it's less code.
author Jim Blandy <jimb@redhat.com>
date Wed, 09 Sep 1992 00:05:42 +0000
parents 9620f7edf04d
children cd90d49526ae
comparison
equal deleted inserted replaced
1086:273918bf0a95 1087:6c410cc87574