• Dmitry Antipov's avatar
    Optimize glyph row clearing and copying routines. · ec7bc82f
    Dmitry Antipov authored
    * 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.
    ec7bc82f
dispextern.h 120 KB