mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
vim-patch:8.1.2285: padding in structures wastes memory
Problem: Padding in structures wastes memory.
Solution: Move fields to avoid padding. (Dominique Pelle, closes vim/vim#5202)
d6beab0248
Skip "ml_line_len" member of "struct memline".
Patch v8.1.0579 was not ported.
This commit is contained in:
@@ -57,9 +57,9 @@ typedef struct lval_S {
|
||||
listitem_T *ll_li; ///< The list item or NULL.
|
||||
list_T *ll_list; ///< The list or NULL.
|
||||
int ll_range; ///< TRUE when a [i:j] range was used.
|
||||
int ll_empty2; ///< Second index is empty: [i:].
|
||||
long ll_n1; ///< First index for list.
|
||||
long ll_n2; ///< Second index for list range.
|
||||
int ll_empty2; ///< Second index is empty: [i:].
|
||||
dict_T *ll_dict; ///< The Dictionary or NULL.
|
||||
dictitem_T *ll_di; ///< The dictitem or NULL.
|
||||
char_u *ll_newkey; ///< New key for Dict in allocated memory or NULL.
|
||||
|
Reference in New Issue
Block a user