These forums are CLOSED. Please visit the new forums HERE
Are there any good ways of manipulating lists without copying them onto the stack? |
|
|
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
|
11-17-2006 17:51
Most of the ll function make copies in the process of running.. does anyone know if there are ways around this?
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
11-17-2006 18:23
Most of the ll function make copies in the process of running.. does anyone know if there are ways around this? Every thing in LSL is pass by value, so any operation result in the values being copied. It's a fact of life. To more directly answer your question: There is no way. _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
11-17-2006 18:23
Towards the end of this thread I posted a script that was deleting and item in one list and putting it in another. It was fast. You could get memory usage on state entry maybe and then during execution at some point and see if it is doubling the memory used or if it is actually dropping.
/54/cf/148598/1.html _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |