Less CPU-intensive downloads
commit8a3e929a8d15b91cef147b91dff30aac1999b5fb
authorThomas Leonard <talex5@gmail.com>
Thu, 4 Sep 2008 18:42:07 +0000 (4 19:42 +0100)
committerThomas Leonard <talex5@gmail.com>
Thu, 4 Sep 2008 18:42:07 +0000 (4 19:42 +0100)
treefdfdbeabd028062c621900d6670a47c62b6585dd
parent5bc510f200907ce3fbfc4d125b81ce5f42a255a7
Less CPU-intensive downloads

As a work around for Python bug 1327971 we were copying downloaded data one byte at a time.
Use an ugly-but-fast hack instead to try and fix performance problem reported in Debian
bug #497569.
zeroinstall/injector/download.py