HP3000-L Archives

September 1997, Week 1

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:
Steve Dirickson b894 WestWin <[log in to unmask]>
Reply To:
Steve Dirickson b894 WestWin <[log in to unmask]>
Date:
Fri, 5 Sep 1997 16:22:00 P
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
<<I need to create a new Image dataset. I want to retrieve the records in
reverse date order (LIFO). I was going to do a backwards chain read.
Someone told me that a reverse chain read was not efficient.>>


"Someone" is confused or misinformed. IMAGE detail dataset chains are
doubly-linked lists, so it is just as efficient to go backwards as to go
forwards. If the chain in use is the primary path of the set and the set
has been recently reloaded/repacked, there will be a slight advantage to
a forward-chain read courtesy of the disk subsystem's read-ahead
provisions. For most real-world situations, this advantage is minimal to
non-existent, and reverse chain traversals will not show any differences
from forward traversals.

Steve

ATOM RSS1 RSS2