summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-09-09 00:05:42 +0000
committerJim Blandy <jimb@redhat.com>1992-09-09 00:05:42 +0000
commit16a5c72935c9b945d083e6e7397033182ece3357 (patch)
tree71df8225634f0a71f7cf02f3d09c74dc40073394 /lisp/emacs-lisp
parent6cf420725b8c77321b37c858f7b698bd76224851 (diff)
downloademacs-16a5c72935c9b945d083e6e7397033182ece3357.tar.gz
emacs-16a5c72935c9b945d083e6e7397033182ece3357.tar.bz2
emacs-16a5c72935c9b945d083e6e7397033182ece3357.zip
* 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.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions