With 500,000 rows in the file,
you may want to just read the rows one
at a time.  This might take some work.

Rebol is good at gulping everything all at once,
and computers are pretty fast and have lots of ram,
but for really big data that approach chokes like a dog.
You should also be careful about writing and testing
on toy size data because it might fail to scale.

good luck!

-galt




From: [EMAIL PROTECTED] on 07/09/2000 11:16 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Galt Barber/LearningTree/US)
Subject:  [REBOL] text file changes Re:



At 03:59 PM 7/10/00 +1000, you wrote:
>hi all
>just need a little help with something..
>i am trying to change all returns in a text file to tabs

file: read %some-filename.txt

replace/all file "^/" "^-"

>and then change
>every occurence of ZZZ to a return....is this possible?

replace/all file "ZZZ" "^/"

>i am on windoze 98se.....the file is about 12mb with about 500,000 records.
>i have checked the user guide but couldn't get anything out of it regarding
>this sort of thing
>
>thanks in advance
>keith
>
>
>

;- Elan [ : - ) ]







Reply via email to