At 6:43 PM -0400 9/4/00, Bud wrote:
>   That's why I'd prefer to just generate a dynamic query, store it as
>WDDX and pass it from page to page. I'm just curious how large of a
>variable I can pass like that.

I think that WDDX only increases the problem...

   You read a 50 meg file

   You create a 50 meg plus array

   You serialize that into an even bigger WDDX packet

The major problem (IMO) with WDDX (XML) is that it is very verbose:

   <string>a</string><string>b</string>.... where's the data?

It adds a lot (a whole lot) of overhead!

In your original post you had 4,000 lines long and 400 Kb = 100 char/lines.

Is there any simple processing you could do off-line to reduce this 
significantly?

I have used my text editor which has grep (regular expressions) and a 
batch facility to do similar things.

If you can work out a series of regexps, via the editor, it is pretty 
easy to convert this into a Perl program.

Other than that, CFFILE read your big file once and put (only) what 
you need into a db.

Or, as I recall ASP has a readln facility, where you can read a file 
a line at a time...

Dick
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to