diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-02-06 12:19:22 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-02-06 12:19:22 -0600 |
commit | 39dc1331084270dc94f7c3bfb684ae4e39f746ec (patch) | |
tree | 75116b7e9ec0eabdd88d0df0679e34826cf59e65 /src | |
parent | a626edb1722bb9d22435c632900585b4a9648a4f (diff) | |
parent | 75ff7995f6b65170b274ca7d40d8678093838105 (diff) | |
download | cryptography-39dc1331084270dc94f7c3bfb684ae4e39f746ec.tar.gz cryptography-39dc1331084270dc94f7c3bfb684ae4e39f746ec.tar.bz2 cryptography-39dc1331084270dc94f7c3bfb684ae4e39f746ec.zip |
Merge pull request #2712 from alex/comment
Added a comment so the efficiency of this jumps out to the next person
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py index 22edd94f..53795732 100644 --- a/src/cryptography/utils.py +++ b/src/cryptography/utils.py @@ -45,6 +45,7 @@ else: while len(data) > 0: digit, = struct.unpack('>I', data[:4]) result = (result << 32) + digit + # TODO: this is quadratic in the length of data data = data[4:] return result |