Thanks a lot for the explanation!

This is pretty much what I expected - but no harm getting a second opinion to 
make sure you got things right, nope? :)

Basically, I have experimented with pretty much everything A LOT **and** 
benchmarked it **and** checked the produced C code, but wanted to make sure... 
And from what I've observed and from what you say, we're definitely on the same 
page.

My latest experiments point to the same conclusion as well:
    
    
    var arr: array[10,byte]
    
    echo cast[uint64](addr arr)
    echo cast[uint64](addr arr[0])
    echo cast[uint64](addr arr[1])
    echo cast[uint64](addr arr[2])
    
    
    Run

The first two - quite obviously - point at the beginning of the array. And the 
next ones point at the consecutive "cells" of memory, one _byte_ apart...

In any case, again: thanks ;-)

Reply via email to