Just to throw this out there...

Bubble sort generally has Unacceptable performance
time for sorting all but very small quantities of
data.

With the input being 5000 emails of a size at least
10-15 characters or more on the average

Bubblesort more or less performs quadratic time
or worse  meaning that it is going to take a
lot of time, and just more and more time as you
have more data.

The most effecient routines avoid moving data
as much as possible whereas bubblesort swaps
data around like no tommorow :-P

There are some routines that you could implement
in ColdFusion that would perform better than
Bubblesort (InsertionSort, Shellsort).

Quicksort would probably not perform so well either.
The overhead of custom tag calls is far to expensive
to implement any kind of heavy duty recursive routines.

All that said its just best to use the sorting routines
already available to you unless you are feeling froggy
and want to write a CFX :-D

Just use the sort's available in the database or
in CF as they are already optimized sorting routines
and you should be able to make do with them in most
any case you can come up with.

Jeremy Allen
[EMAIL PROTECTED]
[Insert quarter here]

-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 25, 2000 12:28 PM
To: [EMAIL PROTECTED]
Subject: RE: arraysort


> Don't think I've heard of the wack book.

He means CFWACK by Ben Forta... you MUST have heard of that <g>

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


----------------------------------------------------------------------------
--
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.

------------------------------------------------------------------------------
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