Commit 160bcfee authored by Stefan Monnier's avatar Stefan Monnier

* src/insdel.c (make_gap): Improve comment.

parent 27a76829
......@@ -572,7 +572,9 @@ make_gap (ptrdiff_t nbytes_added)
* With /4096 => 131s
* With /∞ => gave up after 858s
* Of couse, ideally we should never call set-buffer-multibyte on
* a non-empty buffer (e.g. use buffer-swa-text instead). */
* a non-empty buffer (e.g. use buffer-swap-text instead).
* We chose /64 because it already brings almost the best performance while
* limiting the potential wasted memory to 1.5%. */
make_gap_larger (max (nbytes_added, (Z - BEG) / 64));
#if defined USE_MMAP_FOR_BUFFERS || defined REL_ALLOC || defined DOUG_LEA_MALLOC
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment