home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   PASCAL      Pascal programming language discussions      592 messages   

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

   Message 555 of 592   
   Alexander Grotewohl to Nick Andre   
   Re: Copy File   
   04 Sep 22 17:14:27   
   
   TID: Mystic BBS 1.12 A47   
   MSGID: 1:120/616 b4f13a92   
   REPLY: 1:229/426 FD835021   
   TZUTC: -0400   
   On 03 Sep 2022, Nick Andre said the following...   
       
    NA> procedure SAFECOPY (fromFile, toFile : string);   
      
   this only copies 64 bytes at a time (should be something closer to the   
   filesystem block size, or if it's unknown the best guess is 4096). i.e: this   
   function likely reads the disk 64 times per 4096 bytes instead of 1x   
      
   with a 5GB file this went from a 1min 48second copy to a 8 second one (and   
   significantly less cpu usage)   
      
   it sets {$I-} for the entire rest of the program (missing matching {$I+})   
      
   any point in the function 'exit' is called causes a memory leak (dispose isn't   
   called on bufferPtr before the exit)   
      
   --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)   
    * Origin: cold fusion - cfbbs.net - grand rapids, mi (1:120/616)   
   SEEN-BY: 1/123 15/0 90/1 103/705 106/201 114/709 120/340 616 123/10   
   SEEN-BY: 123/131 124/5016 129/305 331 153/757 7715 154/10 30 40 50   
   SEEN-BY: 154/700 203/0 218/700 220/90 221/0 6 226/18 227/114 201 229/111   
   SEEN-BY: 229/112 113 206 275 317 400 424 426 428 470 550 616 664 700   
   SEEN-BY: 240/5832 266/512 280/464 5003 282/1038 292/854 8125 301/1   
   SEEN-BY: 317/3 320/219 322/757 341/66 234 342/200 396/45 423/120 460/58   
   SEEN-BY: 633/267 280 281 384 410 412 416 418 420 509 712/848 770/1   
   SEEN-BY: 2320/105 3634/12   
   PATH: 120/616 154/10 280/464 633/280 229/426   
      

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


(c) 1994,  bbs@darkrealms.ca