]> git.baikalelectronics.ru Git - uboot.git/commit
patman: Use bytearray instead of string
authorSimon Glass <sjg@chromium.org>
Tue, 6 Jul 2021 16:36:40 +0000 (10:36 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:35 +0000 (10:27 -0600)
commitbe6c18a7ef2d37e2d5886e2e8dd3829aaa51d2da
treefa83c853b072032eb3afa6ac981c6f6449c8008b
parent812358942eb6584341f18bffce3bb8a151ab3900
patman: Use bytearray instead of string

If the process outputs a lot of data on stdout this can be quite slow,
since the bytestring is regenerated each time. Use a bytearray instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/cros_subprocess.py