diff options
| author | Dmitry Antipov | 2013-09-24 09:42:30 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-09-24 09:42:30 +0400 |
| commit | ec7bc82f9c63b6ec533f7489e67b1c1b18d08dd5 (patch) | |
| tree | b5cd6d535d5593424d85e227cf565e51c8016883 /src/bytecode.c | |
| parent | 7be68de5d25998e7d15aaab800c40cad48eac846 (diff) | |
| download | emacs-ec7bc82f9c63b6ec533f7489e67b1c1b18d08dd5.tar.gz emacs-ec7bc82f9c63b6ec533f7489e67b1c1b18d08dd5.zip | |
Optimize glyph row clearing and copying routines.
* dispextern.h (struct glyph_row): Change layout of struct
glyph_row to help copy_row_except_pointers. Adjust comment.
* dispnew.c (null_row): Remove.
(clear_glyph_row): Use offsetof and memset to find and clear
just the members that need clearing. Adjust comment.
(copy_row_except_pointers): Likewise for copying.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions