home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 557 
 ATREYU to Alexander Grotewohl 
 Re: Copy File 
  
 
MSGID: 1:229/426 18E721BC
REPLY: 1:120/616 b4f13a92
On 04 Sep 22  17:14:27, Alexander Grotewohl said the following to Nick Andre:

AG>  NA> procedure SAFECOPY (fromFile, toFile : string);
AG> 
AG> this only copies 64 bytes at a time (should be something closer to the
AG> filesystem block size, or if it's unknown the best guess is 4096). i.e: thi
AG> function likely reads the disk 64 times per 4096 bytes instead of 1x

I'm sure the whole thing can be improved, it was an example from a collection
of code dating back to... TP 5.5 I think.

Nick

--- Renegade vY2Ka2
 * Origin: Joey, do you like movies about gladiators? (1:229/426)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca