On Jun 15, 2004, at 6:24 PM, Dick Applebaum wrote:

> Mmmm...
>
>  I'll give that a try -- at half time!
>
>  Dick
>
>  On Jun 15, 2004, at 6:12 PM, Barney Boisvert wrote:
>
>  > > Are you suggesting that I list-loop an initial pass against
>  >  > the entire
>  >  > file creating an array, then parse the array line-by-line?
>  >
>  >  Basically.  listToArray(fileContent, chr(10)) is probably faster
> than
>  > your
>  >  CFLOOP, because it's all java.
>  >
>  >  Cheers,
>  >  barneyb
>  >
>

OK!

1) I can't readLn a file in CF so I read the entire 3.8 meg xml file
into RAM

2) XmlTransform runs out of memory. so I can't use xls to manipulate
the file

3) XmlSearch runs out of memory so I can't use Xpath to manipulate the
file

4) I can CFexecute a Perl program to parse/render the file in 3-4
seconds

5) I can convert the 3,8 Meg, 85,000 line file to an in-memory array
(Now I have the orig file and the array representation of this file in
memory at the same time..

6) Now, I can line-by-line (array-element-by-array-element) process
this file.

What's wrong with this picture --- AFAICT -- everything!

CF is the wrong tool!

Thought I'd never say that!

Scheise!

Dick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to