[Info-vax] DEC Basic and dynamic memory ?

Dave Froble davef at tsoft-inc.com
Sun Jan 30 20:07:45 EST 2022


On 1/30/2022 7:14 PM, Simon Clubley wrote:
> On 2022-01-30, Arne Vajhøj <arne at vajhoej.dk> wrote:
>> On 1/30/2022 7:03 PM, Simon Clubley wrote:
>>>                            There's also the required copying of the
>>> current data every time you grow the tree.
>>
>> That is common practice in many languages for dynamic
>> sized data structures needing linear backing.
>>
>
> But elsewhere you have the choice of whether to use something
> like a Vector or if you need to build a tree structure yourself.
>
> Specifying the growth increment of a linear structure is also
> a tradeoff but you are not forced to use a linear structure if
> you can build real trees and that's a better choice.
>
> Simon.
>

Where do you come up with the idea that in Basic the nodes in a tree must be 
linear?  They rarely are.  There usually are forward and backward pointers in a 
linked list / tree.  Logically linear, but not physically linear.

You're not appearing very knowledgeable Simon.

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486


More information about the Info-vax mailing list