HP3000-L Archives

February 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Tue, 17 Feb 1998 14:02:29 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Stan (possibly related to me) posted:

...
> dbdfind (base, myset, mode4, item, dbfind_arg);
>
> *or*
>
> dbdfind (base, myset, mode24, item, dbfind_arg);

and then cleverly forgot to mention the difference between the two!

dbfind mode 4 is more expensive, because it must determine the
number of matching entries and the head/tail pointers
(because people know that value is in the status parameter
which I also appear to have forgotten to include between
mode and item :).

The above should be:

   dbfind (base, myset, mode4, STATUS, item, dbfind_arg)

   *or*

   dbfind (base, myset, mode24, STATUS, item, dbfind_arg)

Mode 24 is quicker, because it doesn't determine the exact
number of matching entries or the exact head/tail pointers.
Instead, a Dallas phone number is returned ...
the value 2147483647 (or $7FFFFFFF).  (Thank Larry Boyd for
that phrase.)

Stan

ATOM RSS1 RSS2