Re: RFC 228 (v1) Add memoize into the standard library
[email protected] (Dave Storrs) Fri, 15 Sep 2000 08:28:30 -0700 (PDT)
| Newsgroups | perl.perl6.stdlib |
|---|---|
| Message-ID | <Pine.BSF.4.10.10009150827160.32803-100000@megazone23.bigpanda.com> |
On Fri, 15 Sep 2000, Bart Lateur wrote: > On 15 Sep 2000 02:09:23 -0000, Perl6 RFC Librarian wrote: > > >A version of Memoize.pm should be added into the Perl6 standard > >library, and it should be added as a pragmatic module (i.e. memoize.pm). > > I would rather have a flag when generating the sub, er, what's that > syntax again, ":something"? Personally, I like the way it works at the moment; all the subs that you want to memoize are up at the top, where they are easy to see. You can add, subtract, and change the list in a few seconds, without having to hunt through your file for the actual function definition. Dave