Core 2.6 - Last minute requests - take your chance! - shares
[1/1] from: anton::lexicon::net at: 12-Apr-2002 14:41
That would be cool. I think 'b would have to be a new datatype. One that stored its own index and length and imposed its head and tail on the series. But what happens when elements are removed from 'a that are also in 'b ? Should the length of 'b be reduced? Rebol would have to keep track of all the shares and update them when the original series is modified. This would slow rebol down a fair bit, I reckon. Otherwise, the length of 'b wouldn't be updated and you could get the situation where the length of 'b is greater than the number of elements that 'b shows! But that might just be a totally acceptable situation too! Maybe the user could be in charge of updating the length of the share when it seems appropriate. Anton.