Groups | Search | Server Info | Login | Register
Groups > perl.perl5.porters > #99851
| Newsgroups | perl.perl5.porters |
|---|---|
| Date | 2026-02-08 11:37 +0100 |
| Subject | Re: Gain performances and fix some issues using XS |
| Message-ID | <aYhnXH3uU8Ubbkv3@prometheus> (permalink) |
| References | <aYRsxwEr2Jop5mtY@prometheus> <aYRxnYw7w5VMp4DW@kapow.home> |
| From | mc@unistra.fr (Marc Chantreux) |
hello Philippe, thanks for your anwser. On Thu, Feb 05, 2026 at 11:31:57AM +0100, Philippe Bruhat (BooK) wrote: > > 1. make it faster at execution > > 2. make it even faster/easy to write with expressions instead blocks > > with filter/apply (which are "on demand" conterparts of grep/map). > > 3. put a value back to the stream in case of failure > Point 2 reminds me of Graham's generic "iterators" proposal that we > discussed during the PTS in 2023 in Lyon. Generalizing the idea of map > and grep in the language. I don't know about the whole idea but if we can have versions of of map, grep, keys and values that returns interators that are built in perl and returns iterators, the missing thing would a mecanism to stop releasing a stream (in python, js and ruby, there are both return and yield but AFAIK all of them lack the ability for the caller to put a value back in the stream). Any step toward those built in iterators can obsolete Perlude which would be nice! Is there any way I can help on that? regards, -- Marc Chantreux
Back to perl.perl5.porters | Previous | Next — Previous in thread | Find similar
Gain performances and fix some issues using XS mc@unistra.fr (Marc Chantreux) - 2026-02-05 11:11 +0100
Re: Gain performances and fix some issues using XS philippe@bruhat.net ("Philippe Bruhat (BooK)") - 2026-02-05 11:31 +0100
Re: Gain performances and fix some issues using XS mc@unistra.fr (Marc Chantreux) - 2026-02-08 11:37 +0100
csiph-web