Ary Borenszweig

Results 414 comments of Ary Borenszweig

The problem is that a method is instantiated for each union. For example: ``` cr def node_location(node) puts node.location end ``` Now, if `node` is `Var | NilLiteral` a method...

@straight-shoota No. Compile times will dramatically increase with this change, and they are already super high. I'm also not developing the compiler anymore, I'll just comment on issues that I...

The compiler should probably give an error when writing a union type like `B | C` where that would lead to `A+` and say "Unsupported union: B | C. Use...

@alsoijw Sorry, I don't understand what you mean

Yes, that's exactly it. There's an issue tracked for that already but I can't find it 😞

Crystal sees this: ```crystal @val : Nil | Class1 | Class2 ``` as this: ```crystal @val : Nil | RootClass ``` It's the same issue. Whenever you write `A |...

@fernandes What happens if you invert the order of the benchmark? First `dup`, then `+`?

Right, initially I thought it was a bug in the math we are doing converting from number to `Time::Span` to a C `timeval` struct, but everything looks fine now that...

It works well in Mac, so it seems like a bug in linux. Someone should investigate this. I'm not sure this linux is 32 or 64 bits. @kochka what's your...