references and passing by value

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu