[futurebasic] Re: [FB] XREF

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2001 : Group Archive : Group : All Groups

From: Jay Reeve <jktr@...>
Date: Mon, 9 Jul 01 17:59:19 -0500
>>  >>PS. Are you aware that XREF(@) arrays are the most efficient way to
>>>>manage linked lists?
>>>
>>>What do you mean by manage?
>>>
>>I mean keeping list entries in an XREF@ array and accessing (linking)
>>them by array index.
>>
>>myArray(0) might hold a record which contains a link to myArray(357),
>>which might link to myArray(117). In most situations, these links (IDs)
>>can be just 2 bytes. For fixed-size elements, this is more efficient and
>>faster than maintaining separate handles for each entry, which requires
>>4-byte links and 16-byte headers for each entry. You can see this in
>>action in Jay's Alphabetic Continuum.
>>
>>  0"0
>>  =J= a  y
>>   "
>Okay, where is Jay's Alphabetic Continuum?
>
Well, it used to be at 
<ftp://ftp.futurebasic.org/futurebasic/dropbox/Jays_Alphabetic_Continuum.si
t>
Haven't checked recently, but may still be. If not, I can send you a copy 
direct.

I'm 60% through the process of incorporating it into a demo, which I'd 
hoped to have completed by now, but it has met the fate of so much fine 
software--delayed until Fall. ;-)

 0"0
 =J= a  y
  "