Alexander Markov

Results 64 comments of Alexander Markov

@jensjoha Avoiding try/finally in this case would eliminate a few context and closure allocations (you also need to mark extracted methods with `@pragma('vm:never-inline')` to make sure they are not inlined...

8e7137ea818ed85fc8fd19ad7eb495223dd75278 concludes the work on optimizing tear-offs identified in this issue. In order to work around polymorphic `transformerFlags` in declareMember/undeclareMember, I added specialized declareField/declareConstructor/declareProcedure and undeclareField/undeclareConstructor/undeclareProcedure to the patchset 2:...

I wasn't able to reproduce the problem both on the current Flutter and on 3.16.2. @2ZeroSix Could you try reproducing the problem on the latest Flutter (`main` channel) once again?...

@2ZeroSix Could you try reproducing the problem with Flutter at [b23b3da9353592d6f5d7461ddda13616b00d1815](https://github.com/flutter/flutter/commit/b23b3da9353592d6f5d7461ddda13616b00d1815) and [4b110de996eadc4e5080e4725f9d4073a3525914](https://github.com/flutter/flutter/commit/4b110de996eadc4e5080e4725f9d4073a3525914) ? Flutter [b23b3da9353592d6f5d7461ddda13616b00d1815](https://github.com/flutter/flutter/commit/b23b3da9353592d6f5d7461ddda13616b00d1815) includes 8c5407b3ddf024dea09aa3db57cbf7c24cca6771 which fixed the bug which appears when there are >64K classes -...

I see the following options to handle untagged inner pointers in the IL: A. Avoid inner pointers to Dart heap objects in the IL entirely. Add corresponding canonicalization rules which...

@mraleph > Option **A** is indeed simplest to implement. Rephrasing it as I understand it (so that we are on the same page): > > * When building IL always...

An additional `await` at `return` will add certain performance overhead, which may regress performance in case async method sometimes needs to delegate to another async method. However, it would also...

> The typical case should actually be that there is no additional `await`: The statement `return e;` in an `async` function body will need to be changed to `return await...

When there is a one-way dependency Dart -> JNI bindings -> Java, we can just inspect the tree-shaken Dart program (kernel file) and list used JNI bindings / Java classes/methods/fields,...