On Thu, Nov 26, 2009 at 3:37 AM, Rafael Garcia-Suarez <rgs@consttype.org>wrote: > I'd rather have it the other way around : make the for(1,2,3) variant > work, with some sort of copy-on-write. > I'm going to worry about CONST..CONST first. Behaviour in 5.12 and earlier: CONST..CONST returns something that can be modified, but that you're not allowed to modify. What the bug report requests and what the patch provides: CONST..CONST returns something that can't modified. What I'd like: CONST..CONST to return something that you can modify. Means of achieving this: Remove the optimisation that computes the list at compile-time. Any other faster means? I don't know. You mentioned copy on write. Is there an existing mechanism for that?Thread Previous | Thread Next