Re: Duplicates in Arrays or Lists

2008-01-30 Thread Todd Rafferty
Have you checked on cflib.org? On Jan 30, 2008 11:16 AM, Chad McCue [EMAIL PROTECTED] wrote: Anyone have a function that runs that will remove duplicates from a list or array. My list will have over 15k items so I need it to run as fast as possible.

RE: Duplicates in Arrays or Lists

2008-01-30 Thread Gaulin, Mark
Put the values in a Struct; in one pass you can create a second array/list that avoids any values that are already in the Struct. Mark -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 11:16 AM To: CF-Talk Subject: Duplicates in

Re: Duplicates in Arrays or Lists

2008-01-30 Thread Gerald Guido
ListDeleteDuplicates http://www.cflib.org/udf.cfm?id=532 ListDeleteDuplicatesNoCase http://www.cflib.org/udf.cfm?ID=533 On Jan 30, 2008 11:16 AM, Chad McCue [EMAIL PROTECTED] wrote: Anyone have a function that runs that will remove duplicates from a list or array. My list will have over 15k

RE: Duplicates in Arrays or Lists

2008-01-30 Thread Ben Forta
-Original Message- From: Gaulin, Mark [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 11:26 AM To: CF-Talk Subject: RE: Duplicates in Arrays or Lists Put the values in a Struct; in one pass you can create a second array/list that avoids any values that are already in the Struct

Re: Duplicates in Arrays or Lists

2008-01-30 Thread Cameron Childress
www.cflib.org If you have a choice, an array will be much faster to de-dup than a list. Chad McCue wrote: Anyone have a function that runs that will remove duplicates from a list or array. My list will have over 15k items so I need it to run as fast as possible.

RE: Duplicates in Arrays or Lists

2008-01-30 Thread Paul Vernon
Anyone have a function that runs that will remove duplicates from a list or array. My list will have over 15k items so I need it to run as fast as possible. If you are on a Windows box with CF, there is a free tag on our site which converts string lists into true linked lists and spits