[REBOL] list values and series operations ... Re:(5)

2000-06-14 Thread rsnell
This may help in understanding the allocation/insertion times: A hash preallocates a chunk of memory (into 'bins'). When you insert an item, a special value (hash value) is calculated for the item to determine which bin to place it in. This is all done for fast access when dealing with large n

[REBOL] list values and series operations ... Re:(3)

2000-06-14 Thread brian . hawley
[EMAIL PROTECTED] wrote: > >List!s are actually stored differently from blocks, paths and hashes, > >so any operation on them requires special code that has not been > >implemented for all action types. > > - jim > >Maybe the list also uses slightly less storage overhead per element? Lists use m

[REBOL] list values and series operations ... Re:(3)

2000-06-12 Thread jimg
At the present time, both the head and tail of a list! are quick to access as well as next and back of the current index. - jim At 12:50 PM 6/12/2000 -0400, you wrote: > >List!s are actually stored differently from blocks, paths and hashes, > >so any operation on them requires special code

[REBOL] list values and series operations ... Re:(2)

2000-06-12 Thread Galt_Barber
>List!s are actually stored differently from blocks, paths and hashes, >so any operation on them requires special code that has not been >implemented for all action types. > - jim It makes sense, of course. If you need random access by position number then don't use a list. That is almost by

[REBOL] list values and series operations ... Re:

2000-06-10 Thread jimg
Hi Petr, List!s are actually stored differently from blocks, paths and hashes, so any operation on them requires special code that has not been implemented for all action types. - jim At 12:57 PM 6/10/2000 +0200, you wrote: >Hi, > >I today looked at hash and list datatypes and found out fol