FidoNet Echomail Archive
sync_programming

<<< Previous Index Next >>>

From: rswindell
To: CVS commit
Date: 2019-02-16 04:09:14
Subject: src/smblib/smblib.c

src/smblib smblib.c 1.183 1.184
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/tmp/cvs-serv29070

Modified Files:
	smblib.c 
Log Message:
Performance optimization: When performing sequential index or header reads,
the read buffer may be utilized more efficiently if you do *not* perform an
(unnecessary) seek operation just before the read. By eliminating unnecessary
seeks in smb_getmsgidx() and smb_getmsghdr(), I was able to reduce the time
required to load 9000+ index and header records over a network (Samba/CIFS)
share from 15+ seconds to less than 5.

--- SBBSecho 3.06-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 229/426 240/5832 261/38 280/464
SEEN-BY: 280/5003 396/45 423/120 633/0 267 280 281 384 408 412 509 712/132 848
SEEN-BY: 770/1
@PATH: 103/705 280/464 712/848 633/280 267


<<< Previous Index Next >>>