Slava Egorov
Slava Egorov
FWIW as an alternative to `const` you can just move it to a `static final` field to achieve very similar effect. > If we can write `Center() < Text()`, we...
I have made some updates based on comments. PTAL.
@osa1 > But the text doesn't mention monomorphisation at all. Am I confused? > > If this allows monomorphisation (and it has to, if I get it right), then that's...
@brianquinlan do we have something to do here? Maybe run cronet engine as a singleton always, etc?
It's actually around 6 times slower when I measure it, if you allow JVM to warmup by calling it couple of times. JVM goes to around 100ms after the first...
Per @askeksa-google request I have put the benchmark code I had on GitHub. Dart and Java benchmarks are in [`osm_benchmark` branch of `mraleph/protobuf` repo](https://github.com/mraleph/protobuf/tree/osm-benchmark/protobuf/benchmarks/osm_benchmark). I have also put some of...
I don't see a way to upstream `Int64` changes (which yield most of the improvement) as those change APIs. Changes related to declosurising reading can be upstreamed (probably) but introduce...
Interesting idea, it would still box Smi-s which otherwise would be just tagged (e.g. in `PbList`), but might shave some of the performance difference. It will also require boxing in...
Let me explain what is happening here: async IO operations which do not fit into a normal `epoll`/`kqueue` model (which handles working with sockets) are performed in a thread pool....
@brianquinlan I had restless fingers so I spent some time investigating how my other proposal (e.g. fix `Dart_NewNativePort` implementation) could look like. Here is the [CL](https://dart-review.googlesource.com/c/sdk/+/382163). Overall, it does not...