Ichoran

Results 92 comments of Ichoran

Addendum: if you run a trivial benchmark like comparing `n` and `m` in ```scala class K(s: String) { val tup = (s.take(1), s, s.drop(2)) def n = { val (a,...

@Blaisorblade - Historically, -optimise has done nothing, so people are not used to using it for Scala (nor is anyone from Java!), and if the compiler is going to produce...

@Blaisorblade - My argument is that the compiler shouldn't locally produce inefficient code unless an optimizer is always on to clean it up. There are plenty of complex cases where...

Unfortunately, this is permissible behavior by design because `keys` is _not_ a `Seq` for `SeqMap`. It's just an `Iterable`. Iterables of different types don't have to be compatible with each...

I think I used TypeTag to get Scala-code-compatible method names and know which ones were actually public (instead of package private or whatever). A ClassTag could be used instead with...

@joroKr21 - I think you mean `span`, not `partition`. `partition` does not respect order. Anyway, `split` is more appropriate for a name because that's already what it means for `String`....

Is this the only thing that's changed since .14? Otherwise, you really should compare before/after this PR alone. The count isn't high enough to know whether the 2700 vs 970...

Hm, second one seems like it might be a little slower for real. But it's so close that I wouldn't believe it unless you go back and forth a couple...

@shelby3 - Can you please just write a code example that actually truly genuinely shows your point that resource starvation is a likely outcome? Your existing example was disproved before...

@shelby3 - You can use `std::sync::Weak` to make cyclic references safely and with no lifetimes (use move semantics). You can use only safe Rust, have no memory leaks, and good...