• Lau Ching Jun's avatar
    Optimize file transfer when using proxied devices. (#139968) · c1caa24a
    Lau Ching Jun authored
    List of changes:
    1. Optimizations in FileTransfer. a. Use `stream.forEach` instead of `await for`. b. Type cast `List<int>` to `Uint8List` instead of using `Uint8List.fromList` results in (presumably) fewer copy and faster execution. c. Iterate through `Uint8List` with regular for loop instead of for-in loop.
    2. Precache the block hashes of a file, and reuse it on subsequent runs.
    c1caa24a
Name
Last commit
Last update
..
android_preview_integration.shard Loading commit data...
commands.shard Loading commit data...
data Loading commit data...
general.shard Loading commit data...
host_cross_arch.shard Loading commit data...
integration.shard Loading commit data...
src Loading commit data...
web.shard Loading commit data...