[Webkit-unassigned] [Bug 6315] new Math.random isn't portable to Windows

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Dec 31 19:00:31 PST 2005


http://bugzilla.opendarwin.org/show_bug.cgi?id=6315





------- Additional Comments From jhaygood at spsu.edu  2005-12-31 19:00 -------
(In reply to comment #5)
> (In reply to comment #4)
> > (From update of attachment 5402 [edit] [edit])
> > The arguments against using random() on OS X also apply to using rand_s() on
> > Windows. It's slower and cryptographically secure, but I don't think that's
> > what we want for JavaScript.
> > 
> 
> I can do about 5970 calls per second on a 3.06 GHz P4 (running at 1.6 GHz thanks
> to speedstep).
> 
> I think that's plenty of time.

Make that "Finished 760000 cycles in 0.96 ms". Removed the printf out of the
code I was using to check.

Is this fast enough?


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list