BBS:      TELESC.NET.BR
Assunto:  Jumping to the end of a 419M error.log file takes a very long time
De:       Deucе
Data:     Fri, 27 Feb 2026 16:36:35 -0800
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/issues/1085#note_8463

Yeah, looking at the code, building the index of all the line offsets using a ever-growing realloc() may be the big slowdown, rather than reading every line.  Likely cutting down on the realloc() calls would help a lot.
--- SBBSecho 3.37-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

-----------------------------------------------------------
[Voltar]