[Metakit] Of Default Values and Ordered Views
anotherguynamedalex at yahoo.com
Wed Jun 9 16:54:51 CEST 2004
--- Alex Sauer-Budge <anotherguynamedalex at yahoo.com>
> Question 3: Is there a way to directly maintain a
> view in order? If not, how can I store the ordered
> view (so I don't need to recreate it every time)
> and will it be a resource hog?
It seems the answer to my question is that creating a
new view using:
c4_View subView = pSubView(row).Ordered();
and adding rows as normal does indeed result in the
underlying view being ordered in storage. Is this
When I later reopen my database for read-only access,
do I need to again create the ordered identity view in
order to benefit from the faster find, or is this
stored in the file along with the view? I think the
answer is no, it is not stored and I must recreate the
ordered identity view. If this is so, then if I use
Search instead of Find will it use the faster search
method even if it isn't an Ordered view (that is, I
didn't say .Ordered())? The reason I am concerned is
that my subviews are randomly accessed and I don't
want to repeatedly and unecessarily create ordered
identity views whenever they are queried.
Metakit is really quite beautiful, thanks for sharing
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
More information about the Metakit