mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
6a1557f2f4
New logging is guarded by cmake LOG_LIST_ACTIONS define. To make it more efficient it is allocated as a linked list with chunks of length 2^(7+chunk_num); that uses basically the same idea as behind increasing kvec length (make appending O(1) (amortized)), but reduces constant by not bothering to move memory around what realloc() would surely do: it is not like we need random access to log entries here to justify usage of a single continuous memory block. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
config.h.in | ||
pathdef.c.in | ||
versiondef.h.in |