YangJie

Results 232 comments of YangJie

run `mvn clean test -pl integration-test/common -Dtest=HealthCheckCoordinatorGrpcTest` can pass

Rosetta2 is not installed and this is a flaky test

Rosetta2 is not installed and this is a flaky test too

When call `toArray` on `Array[Anry] as Seq[Any]`: - Using Scala 2.12, the class type of `arr` is `mutable.WrappedArray$ofRef`, the `toAarry` method did not trigger memory copy - Using Scala 2.13,...

> In Scala 2.12, `Seq` means `collection.Seq`, which means it might be mutable or immutable. > > In Scala 2.13, `Seq` means `collection.immutable.Seq`, which means it's definitely immutable. I change...

> Are you trying to write crossbuilt code that performs acceptably on both versions, or are you upgrading and just need good performance on 2.13? Trying to write crossbuilt code...

> Note that 2.13 offers `scala.collection.immutable.ArraySeq.unsafeWrapArray`, which allows you to pass off an array that you promise never to mutate as an `immutable.Seq`. So for performance, I need to call...

> Note that I'm aware that I haven't answered your question about how to work around it when crossbuilding. It's a bit difficult to make suggestions since I don't know...