Michael Dinowitz wrote:
> I'm rewriting my CFMakeTree tag in order to make it tighter and work in CFMX
> better. One of the assumptions I had was that Lists would be problematic in
> comparison to Arrays or Structs. My first test was to find a value in one of
> these data collections.
> For Lists I used ListFindNoCase. For Arrays, I looped over the array to find the
> value and for Structs I used StructFindValue(). I ran each test in a 1000

isn't structkeyexists better than structfindvalue? as our jedi friend 
says, after not evalutating, cflocking I think that's his next biggest tip

my experience is that structures are always *way* faster than lists or 
arrays.. basically because structures are key indexed

z

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to