commit | 9ed96efb3d47d46e9637da04656efff715102407 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 04 17:17:11 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 04 17:17:11 2016 +0200 |
tree | 8b9cf45d9c39b274a81ad5d96710518c4feb84ac | |
parent | 703a8044b5393d37d355b0b1054a9a5a13912a3f [diff] [blame] |
patch 7.4.1891 Problem: Channel reading very long lines is slow. Solution: Collapse multiple buffers until a NL is found.
diff --git a/src/structs.h b/src/structs.h index d9498e4..5ecb806 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -1309,6 +1309,7 @@ struct readq_S { char_u *rq_buffer; + long_u rq_buflen; readq_T *rq_next; readq_T *rq_prev; };