Mercurial > vim
view pixmaps/tb_find.xpm @ 18582:5816778ee545 v8.1.2285
patch 8.1.2285: padding in structures wastes memory
Commit: https://github.com/vim/vim/commit/d6beab0248cdb0b7073e97d98d65de7138cb3386
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 15:07:19 2019 +0100
patch 8.1.2285: padding in structures wastes memory
Problem: Padding in structures wastes memory.
Solution: Move fields to avoid padding. (Dominique Pelle, closes https://github.com/vim/vim/issues/5202)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 15:15:03 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_find_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconColor2 m none c #FFFFFF", "O s iconGray2 m none c #bdbdbd", "+ s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ......... ", " .XXXXXXX.. ", " .XXXXXXX.O. ", " .XXXXXXX.... ", " .XXXXXXXXXX. ", " .XXXXXXX.... ", " .XXXXXX.OOOO. ", " .XXXXX.OXXOOO. ", " .XXXXX.OXOOOO. ", " .XXXXX.OOOOOO. ", " .XXXXX.OOOXOO. ", " .XXXXXX.OOOO.+ ", " .XXXXXXX....+.. ", " .XXXXXXXXXX.+... ", " ............+ .. ", " ++++++++++ ", " "};