3 ms·
i thought vim used an array of lines, not an array of bytes, but it turns out it's more like an array of pages; https://www.free-soft.org/FSM/english/issue01/vi
by kragen 3y ago
i thought vim used an array of lines, not an array of bytes, but it turns out it's more like an array of pages; https://www.free-soft.org/FSM/english/issue01/vim.html https://www.free-soft.org/FSM/english/issue01/vim.html describes it, https://github.com/vim/vim/blob/e723c42836d971180d1bf9f98916966c5543fff1/src/memline.c https://github.com/vim/vim/blob/e723c42836d971180d1bf9f98916... is the implementation