I'm a little confused as to what you are doing here. Can you paste a short
code snippet? I keep queries in structures in memory all the time and
access is pretty much instantaneous, so I'm guessing that's not what you are
doing?
-Rick
-----Original Message-----
From: paul smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 9:06 AM
To: [EMAIL PROTECTED]
Subject: Structures No? Cached Queries Yes?
I see my earlier post was obscure to opaque.
For the same results:
Get data from a cached query: Average = 180ms
Get data from a database stored in a Structure: Average = 227ms
Structure takes 26% longer than a cached query to get the same
data.
This kind of makes sense, since with a Structure I have to run a
query anyway to get the list of KEYS, which I use to loop over
the Structure to pull only two more columns of data out of the
Structure.
More tests later...
best, paul
Paul Smith
Web/Database Droid
A: SupportNet, Inc, 3871 Piedmont Ave, Oakland, CA 94611
P: (510) 763-2358
C: (510) 205-6755
F: (510) 763-2370
E: [EMAIL PROTECTED]
W: http://www.support.net
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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/cf-talk@houseoffusion.com/
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.