[New-bugs-announce] [issue16496] Simplify and optimize random_seed()

Serhiy Storchaka report at bugs.python.org
Sat Nov 17 22:32:44 CET 2012


New submission from Serhiy Storchaka:

Now random_seed() use an ineffective quadratic-time algorithm.  It can reuse _PyLong_AsByteArray(), decreasing code size and increasing performance.

----------
components: Extension Modules
files: random_seed.patch
keywords: patch
messages: 175812
nosy: mark.dickinson, rhettinger, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Simplify and optimize random_seed()
type: performance
versions: Python 3.4
Added file: http://bugs.python.org/file28014/random_seed.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16496>
_______________________________________


More information about the New-bugs-announce mailing list