From 5f25e92a2da4f53dfa5aeca04db57b5ceaf1820f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 20 Apr 2016 12:02:07 -0700 Subject: [PATCH] cmd_send.py: add note about future speedup opportunity --- src/wormhole_cli/cmd_send.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wormhole_cli/cmd_send.py b/src/wormhole_cli/cmd_send.py index 99791cb..633c9aa 100644 --- a/src/wormhole_cli/cmd_send.py +++ b/src/wormhole_cli/cmd_send.py @@ -99,6 +99,8 @@ def build_phase1_data(args): def send_twisted(args, reactor=reactor): assert isinstance(args.relay_url, type(u"")) handle_zero(args) + # TODO: parallelize the roundtrip that allocates the channel with the + # (blocking) local IO (file os.stat, zipfile generation) phase1, fd_to_send = build_phase1_data(args) other_cmd = build_other_command(args) print(u"On the other computer, please run: %s" % other_cmd,