Add stupid comment.
@@ -51,7 +51,10 @@ class RepeatableIterator(object):
def bytes_to_float(b):
- """ Maps a byte string to a float in [0, 1]."""
+ """ Maps a byte string to a float in [0, 1].
+
+ Verified to be uniform, at least over text strings and zero byte strings of varying lengths.
+ """
return float(crc32(b) & 0xffffffff) / 2**32
