Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find and Replace in huge text file
Message
De
27/09/2005 14:21:43
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01053411
Message ID:
01053580
Vues:
24
>>>>I tried FREAD instead of FGETS and it looks like it works fine, I tried to read 8192 bytes with FREAD then write them with FWRITE without any modifications and I got same file size.
>>>
>>>With FREAD some occurences may be split between two sequential reads in which case they will not be replaced.
>>
>>Not tested, but I wonder if this might be a faster approach?
><snip>
>
>Jim,
>
>The file size is 130MB. :)

Sergey,

OK, I guess I'm a little dense today. How does the file size affect what I suggested?
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform