commit | 75ff7995f6b65170b274ca7d40d8678093838105 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Sat Feb 06 12:16:19 2016 -0500 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Sat Feb 06 12:16:19 2016 -0500 |
tree | 75116b7e9ec0eabdd88d0df0679e34826cf59e65 | |
parent | a626edb1722bb9d22435c632900585b4a9648a4f [diff] |
Added a comment so the efficiency of this jumps out to the next person
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py index 22edd94..5379573 100644 --- a/src/cryptography/utils.py +++ b/src/cryptography/utils.py
@@ -45,6 +45,7 @@ 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