references and passing by value
- Posted by kobi Apr 29, 2012
- 1022 views
uh, one more question for you euphoria gurus
let's say I have a linked list. now I want to remove one cell in the middle of this list,
so it would be joined with the next next cell.
since euphoria passes data by value, what will the behaviour look like in the low level parts?
will it copy "all the rest" in the list, or is it as fast as a reference change, pointer change?
I'm trying to understand the mechanisms and semantics in order to know better the consequences of every action.
Maybe it's unnecessary? I may write a data structure, or something with more "objects" as my next euphoria script.
cheers, kobi