Subj : Re: src/sbbs3/nopen.c To : Wilfred van Velzen From : Digital Man Date : Wed Sep 09 2020 17:48:23 Re: Re: src/sbbs3/nopen.c By: Wilfred van Velzen to Digital Man on Wed Sep 09 2020 10:59 pm > Hi Digital, > > On 2020-09-09 13:23:52, you wrote to me: > > >> >> Maybe this can even be improved upon: > >> >> > >> >> https://sourceforge.net/p/fmail/code/ci/linux/tree/copyFile.h > >> >> https://sourceforge.net/p/fmail/code/ci/linux/tree/copyFile.c > >> > >> DM> Um... thanks? I was getting 400+Mbps, so I'm pretty sastified with > >> DM> that, and it's portable code. But I may experiment with your > >> DM> Linux-specific code at some point. > >> > >> And on windows just use the CopyFile() OS function... > > DM> Now *that* was a good tip! Thanks! > > It's in my source code, but you have to notice it. ;-) > > I'm interested if you did the speed messurement again, and if you could > detect a difference? ;) I did and CopyFile() was both faster (reduced from 37 to 5 seconds) and had lower CPU utilization. Nice! digital man Sling Blade quote #17: Charles Bushman: A shovel just makes too goddamned much racket. Norco, CA WX: 81.2øF, 44.0% humidity, 12 mph NE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .