Page 1 of 1
Lister: Long Line Length
Posted: 2014-03-02, 13:24 UTC
by rif
The Lister feature limits text lines to an internal 1024 bytes buffer to show 1024 characters (or half that for UCS2 / Unicode). Longer lines just wraps around and there is no indication that line wrap happened.
Currently I work with some debug files for a special camera decoding project. Here my debug output is >3000 chars per line.
1. Please update Lister to handle lines with at least 4 KB, but preferable update to handle lines of 16 KB or 64 KB.
2. Some sort of indication that line-wrapping has occurred.
Posted: 2014-03-02, 13:42 UTC
by MarcinW
Optionally, this larger line length could be configurable, to be enabled by advanced users (long lines can slow down Lister as I suppose).
Lister: Long Line Length
Posted: 2014-03-02, 13:44 UTC
by rif
MarcinW wrote:Optionally, this larger line length could be configurable, to be enabled by advanced users (long lines can slow down Lister as I suppose).
Yes speed is important. This is why my request is just for 16K or 64K lines, not giga-bytes lines.
Posted: 2014-03-02, 17:20 UTC
by petermad
Support++ - at least 4K lines would be a welcomed improvement

Posted: 2014-03-06, 06:46 UTC
by ado
I agree - with the line size limit it looks to me that Christian is little "overprotective" - artificial restriction in the name of speed. However, today in days of SSD disks is access to filesystem pretty fast.
I know that if let's say the limit would be 64k per line and lister is displaying 50 lines, it would mean to load >3MB per page + some additional size that TC pre-loads. But again - PCs have multi GB of memory.
And of course - the most importantly: default line size would stay on current 75 (or 80) chars, so really only those users that want/need it would bump it up. Also, if I would see it really slows me down, I can decrease that size to something more reasonable.
ado