> -----Original Message-----
> From: Yves Arsenault [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 04, 2005 3:32 PM
> To: CF-Talk
> Subject: Re: A brief question about lists
> 
> Hi Jim,
> 
> And the results processed fairly quickly? Even with the log files?

Well - the log file stuff I only did in CF 4.5.  They were quick enough, but
the processing was vastly more complicated than just looping over the list
(the logs were made up of many values, some of which where WDDX packets that
had to be dealt with and each row could result in several database writes).

But still - the performance was acceptable (and by that I mean a big file
could take 10 or 20 minutes to process).

CFMX is, on average, about 2-4 times faster than CF 4.5 (sometimes less, but
mostly more).  Also since list management code was some of the oldest in CF
(even in CF 5.0 some of that code dated back to CF 2.0) it got a lot of
attention in CFMX - it's actually PDQ right now.

Depending on your lit contents 350 items really shouldn't be a problem for
most apps.  You'd probably be able to do things quicker, but sometimes fast
enough is good enough.  ;^)

What matters more, to me, is how often the code is run and how visible it
is.  A log-file processor that (like mine) ran once a day at 2AM as an
automated process doesn't really need to be super-optimized.  But a process
that runs every request or could cause a user to wait for a while should be
looked at seriously.

I would try out a sample and time it using getTickCount() - my guess is that
you'll be pleasantly surprised.

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193148
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to