diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-05-28 13:03:00 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2024-05-28 13:06:35 +0200 |
commit | ff7f22c28b602c84350785624b4b6fc9ae35f950 (patch) | |
tree | b2adc04224a5454ba257bc334e83ed1a29552e61 /runtime/lua/vim/_defaults.lua | |
parent | 90a4b1a59cf0c204cb39ec7789ab8783626e449d (diff) | |
download | rneovim-ff7f22c28b602c84350785624b4b6fc9ae35f950.tar.gz rneovim-ff7f22c28b602c84350785624b4b6fc9ae35f950.tar.bz2 rneovim-ff7f22c28b602c84350785624b4b6fc9ae35f950.zip |
refactor(fileio): remove useless use of FileDescriptor
FileDescriptor is used to buffer togheter many small writes to fewer
syscalls. if the data to write already is in a single buffer, it is
perfectly fine to just use os_write directly (which will take care of
the reverse problem: splitting a too big write into many syscalls)
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions