Email list hosting service & mailing list manager

Generators and accumulators John Cowan (18 Jan 2020 21:46 UTC)
Re: Generators and accumulators Amirouche Boubekki (21 Jan 2020 10:35 UTC)
Re: Generators and accumulators Lassi Kortela (21 Jan 2020 22:45 UTC)
Re: Generators and accumulators John Cowan (21 Jan 2020 22:48 UTC)
Re: Generators and accumulators Lassi Kortela (21 Jan 2020 22:57 UTC)
Re: Generators and accumulators John Cowan (21 Jan 2020 23:02 UTC)
Re: Generators and accumulators Lassi Kortela (21 Jan 2020 23:15 UTC)

Re: Generators and accumulators Lassi Kortela 21 Jan 2020 22:45 UTC

> I propose that the read procedures be allowed to accept a generator that
> returns characters as well as an input port, and that the write
> procedures be allowed to accept an accumulator of characters as well as
> an output port.

Are character-by-character generators and accumulators reasonably fast?
Are they amenable to well-known compiler optimizations?