[Python-bugs-list] [ python-Bugs-476054 ] small improvement to random (original) (raw)
noreply@sourceforge.net noreply@sourceforge.net
Mon, 29 Oct 2001 09:07:42 -0800
- Previous message: [Python-bugs-list] [ python-Bugs-476054 ] small improvement to random
- Next message: [Python-bugs-list] [ python-Bugs-476054 ] small improvement to random
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bugs item #476054, was opened at 2001-10-29 08:52 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=476054&group_id=5470
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody)
Assigned to: Tim Peters (timone) Summary: small improvement to random
Initial Comment: there is this code in the random module:
# Initialize from current time
import time
a = long(time.time() * 256)iwouldn't it be better to use multiply by 1000000 since the microseconds are probably more random than the seconds?
-- erno@iki.fi
You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=476054&group_id=5470
- Previous message: [Python-bugs-list] [ python-Bugs-476054 ] small improvement to random
- Next message: [Python-bugs-list] [ python-Bugs-476054 ] small improvement to random
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]