diff options
| author | Dmitry Antipov | 2012-07-06 09:07:44 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-07-06 09:07:44 +0400 |
| commit | 657924ff58fc22a6e57dc8366a20dadf97324c63 (patch) | |
| tree | 94e256617a34f005119bcf7481bbbaa41c19a63f /src/ChangeLog | |
| parent | 6edc3d285d0495d69888018758371abfa4752327 (diff) | |
| download | emacs-657924ff58fc22a6e57dc8366a20dadf97324c63.tar.gz emacs-657924ff58fc22a6e57dc8366a20dadf97324c63.zip | |
Introduce fast path for the widely used marker operation.
* alloc.c (build_marker): New function.
* lisp.h (build_marker): New prototype.
* buffer.c (clone_per_buffer_values, Fmake_indirect_buffer): Use it.
* composite.c (autocmp_chars): Likewise.
* editfns.c (buildmark): Remove.
(Fpoint_marker, Fpoint_min_marker, Fpoint_max_marker)
(save_restriction_save): Use build_marker.
* marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise.
* window.c (save_window_save): Likewise.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c8a9b3f8b0c..460bdaa198c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | 2012-07-06 Dmitry Antipov <dmantipov@yandex.ru> | 1 | 2012-07-06 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 2 | ||
| 3 | Introduce fast path for the widely used marker operation. | ||
| 4 | * alloc.c (build_marker): New function. | ||
| 5 | * lisp.h (build_marker): New prototype. | ||
| 6 | * buffer.c (clone_per_buffer_values, Fmake_indirect_buffer): Use it. | ||
| 7 | * composite.c (autocmp_chars): Likewise. | ||
| 8 | * editfns.c (buildmark): Remove. | ||
| 9 | (Fpoint_marker, Fpoint_min_marker, Fpoint_max_marker) | ||
| 10 | (save_restriction_save): Use build_marker. | ||
| 11 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise. | ||
| 12 | * window.c (save_window_save): Likewise. | ||
| 13 | |||
| 14 | 2012-07-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 15 | |||
| 3 | Do not use Fdelete_overlay in delete_all_overlays | 16 | Do not use Fdelete_overlay in delete_all_overlays |
| 4 | to avoid redundant calls to unchain_overlay. | 17 | to avoid redundant calls to unchain_overlay. |
| 5 | * buffer.c (drop_overlay): New function. | 18 | * buffer.c (drop_overlay): New function. |