From 75ff7995f6b65170b274ca7d40d8678093838105 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 6 Feb 2016 12:16:19 -0500 Subject: Added a comment so the efficiency of this jumps out to the next person --- src/cryptography/utils.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3