Re: Two fixes I would like!
Tim Rowledge <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.foundation |
|---|---|
| Message-ID | <[email protected]> |
John M McIntosh <[email protected]> is claimed by the authorities to have written: > One of the issues is that on the mac the millisecond clock starts from > zero at application start time, so this code Possible simple improvement; add a prim to return a seed. Each platform can do whatever it can plausibly do (sounds like some OSs have some sort of facility for random) and returns a number. Is a SmallInt good enough or should we allow LPIs? If the prim fails then we fall back to the current case and nobody is any worse off. tim -- Tim Rowledge, [email protected], http://sumeru.stanford.edu/tim Strange OpCodes: SDS: Sort of Do Something