https://gitlab.synchro.net/main/sbbs/-/commit/2c53c325c0cf8efec893859a
Modified Files:
src/syncterm/syncterm.c src/xpdev/dirwrap.c ini_file.c
Log Message:
More optimizations
Replace some
sprintf(dst, "%.*s", len, src) calls with
strlcpy(dst, src, sz)
Gets another 8% performance squeeze, and is the last obvious thing to
improve for INI parsing. It's almost completely truncsp(),
SKIP_WHITESPACE() and strnicmp() now, which is as it should be.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net