diff options
| author | Jim Blandy | 1992-09-09 00:05:42 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-09-09 00:05:42 +0000 |
| commit | 16a5c72935c9b945d083e6e7397033182ece3357 (patch) | |
| tree | 71df8225634f0a71f7cf02f3d09c74dc40073394 /src/alloc.c | |
| parent | 6cf420725b8c77321b37c858f7b698bd76224851 (diff) | |
| download | emacs-16a5c72935c9b945d083e6e7397033182ece3357.tar.gz 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 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions