Raymond Hettinger <raymond.hettin...@gmail.com> added the comment: The differential cost of generating n random bytes is negligible compared to actually doing anything with the bytes once their generated.
This optimization is close to being a total waste (saving 15 milliseconds for the abnormal case of generating 1 million random bytes). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13396> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com