diff options
| author | Eli Zaretskii | 2012-02-01 18:51:20 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-02-01 18:51:20 +0200 |
| commit | 78cef8778985b15bcb16a9ed9604395b3ab6b9c3 (patch) | |
| tree | 80aa81f20bb03a441d288052a311a423f7f5391e /src/alloc.c | |
| parent | 90586172568f5a4e5d4b62f59deb1dfb69e8b4f5 (diff) | |
| download | emacs-78cef8778985b15bcb16a9ed9604395b3ab6b9c3.tar.gz emacs-78cef8778985b15bcb16a9ed9604395b3ab6b9c3.zip | |
Speed up insertion of subprocess output on MS-Windows.
src/ralloc.c (resize_bloc, r_alloc_sbrk): Don't call memmove if its
first 2 arguments are identical. This makes inserting large
output from a subprocess an order of magnitude faster on
MS-Windows, where all sbrk'ed memory is always contiguous.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions