Difference between revisions of "Category talk:LSL Types"
Jump to navigation
Jump to search
(→LSL Wiki links needed: new section) |
Dale Innis (talk | contribs) |
||
Line 17: | Line 17: | ||
These ''might'' be operationally equivalent. But it is less than clear that they are operationally the same (at least naively, one would expect the two versions to have a different machine implementation, with the first perhaps more efficient). | These ''might'' be operationally equivalent. But it is less than clear that they are operationally the same (at least naively, one would expect the two versions to have a different machine implementation, with the first perhaps more efficient). | ||
Yeah, even more obviously, lists are mutable. The person must have meant "basic types" or something... [[User:Dale Innis|Dale Innis]] 20:46, 26 April 2012 (PDT) | |||
== LSL Wiki links needed == | == LSL Wiki links needed == | ||
[[Template:LSL Unhelpful]] should be added to the LSL data-type pages. — [[User:Albert Zerundi|Albert Zerundi]] 02:34, 21 May 2010 (UTC) | [[Template:LSL Unhelpful]] should be added to the LSL data-type pages. — [[User:Albert Zerundi|Albert Zerundi]] 02:34, 21 May 2010 (UTC) |
Revision as of 20:46, 26 April 2012
Mutability
The section on mutability seems wrong, or at least needs more explanation if it isn't. Vectors and Rotations clearly appear to be mutable:
vector v = <1,3,3>; v.x = 0;
Obviously, the following sequence has the same result:
vector v = <1,2,3>; v = <0,v.y,v.z>;
These might be operationally equivalent. But it is less than clear that they are operationally the same (at least naively, one would expect the two versions to have a different machine implementation, with the first perhaps more efficient).
Yeah, even more obviously, lists are mutable. The person must have meant "basic types" or something... Dale Innis 20:46, 26 April 2012 (PDT)
LSL Wiki links needed
Template:LSL Unhelpful should be added to the LSL data-type pages. — Albert Zerundi 02:34, 21 May 2010 (UTC)