Trond Michelsen wrote:
> I realize that memoization isn't something you want to do on functions
> that may return different results with the same input. However I'm a bit
> curious of when these functions are useful in sort(),
>...
> sort {rand($a) <=> rand($b)} @nums;
Right.
> Will the above generate a more random list than this?
No, it will generate a more crashed perl.
--
John Porter
- Re: Schwartzian Transform Jarkko Hietaniemi
- Re: Schwartzian Transform John Porter
- Re: Schwartzian Transform Jarkko Hietaniemi
- Re: Schwartzian Transform Simon Cozens
- Re: Schwartzian Transform John Porter
- Re: Schwartzian Transform Trond Michelsen
- Re: Schwartzian Transform Dan Sugalski
- Re: Schwartzian Transform Dan Sugalski
- Re: Schwartzian Transform John Porter
- Re: Schwartzian Transform Dan Sugalski
- Re: Schwartzian Transform John Porter
- Re: Schwartzian Transform John Porter
- Re: Schwartzian Transform John Porter
- Re: Schwartzian Transform Dan Sugalski
- Re: Schwartzian Transform Dan Sugalski
- Re: Schwartzian Transform Tad McClellan
- Re: Schwartzian Transform John Porter
- Re: Schwartzian Transform James Mastros
- Re: Schwartzian Transform James Mastros
- Re: Schwartzian Transform Dan Sugalski
- Re: Schwartzian Transform John Porter
