> From: Russ Allbery [mailto:[EMAIL PROTECTED]] > >we can just flat-out say "We may optimize your > > sort function" > > I am strongly in favor of that approach. I see no reason to allow for > weird side effects in Perl 6. Let me second the motion. "Allow optimisation" should be the default. A programmer should, however, be able to say sort sub :no_memoize { $global++ ; (($a*10+$b)%3)-1 } (1..10); if they really want to. But make the programmer say "I am doing something wierd", not the other way round. Dave.
- Schwartzian transforms Dan Sugalski
- Re: Schwartzian transforms John Porter
- Re: Schwartzian transforms Dan Sugalski
- Re: Schwartzian transforms Bryan C. Warnock
- Re: Schwartzian transforms John Porter
- Re: Schwartzian transforms Simon Cozens
- Re: Schwartzian transforms Dan Sugalski
- Re: Schwartzian transforms Bryan C. Warnock
- Re: Schwartzian transforms Russ Allbery
- What can we optimize (was Re: Schwartzi... David Whipp
- What can we optimize (was Re: Schwartzi... Dan Sugalski
- Re: What can we optimize (was Re: ... James Mastros
- Re: What can we optimize (was ... James Mastros
- Re: What can we optimize (... Hong Zhang
- Re: What can we optimize (... James Mastros
- Re: What can we optimize (... Jarkko Hietaniemi
- Re: What can we optimize (... John Porter
- Re: What can we optimize (... Dan Sugalski
- Re: What can we optimize (... Russ Allbery
- Re: What can we optimize (... Dan Sugalski