Michael J. Sullivan

Results 175 comments of Michael J. Sullivan

> One more thing: Maybe packed arrays should be hashable even though they are mutable. Otherwise we'd probably need a separate frozen packed array type, and to use arrays as...

I've been doing some experimenting with a related issue, which is specialized support for `array.array`. I've got a branch that can get some reasonable speedups on arrays of unsigned ints...

Thanks for the report! As a workaround, don't bind the `group` result to a variable, just stick it into the select.

``` with x := (for x in User union { multi elements := x }) select x { count := count(.elements), } filter .count > 1; ``` fails in a...

As a follow-up to "I'm not sure how common these cases are, though, and I think they can generally be worked around with DISTINCT.", here is a more complex example...

I think that changing this behavior to be less strict should be a pretty safe change to make in the future if users seem to care and we decide it...

Changing this behavior is still not a priority, but "Make it so that all DML statements are compiled to SELECT CTEs that contain the rows to be inserted or updated."...

Thanks for the report! As a workaround, don't bind the `group` result to a variable, just stick it into the select.

``` with grouped := (for x in Movie union { multi elements := x }) for item in grouped union (select item.elements { title } ); ``` fails in a...