Idea for avoiding GC for lambdas
Steven Schveighoffer
schveiguy at gmail.com
Tue Jun 22 15:07:55 UTC 2021
On 6/22/21 2:20 AM, rm wrote:
> It does come up every so often. You can also follow the links here.
> https://forum.dlang.org/post/qnigarkuxxnqwdernhzv@forum.dlang.org
Thanks for the link, I didn't remember this (it just happened a few
months ago too!)
>
>
> Maybe the zip+repeat trick should be streamlined a bit.
Yeah, I'm suggesting to avoid having to specify explicitly on the call
side how to pass the data. The compiler could figure it out for me, and
I get `@nogc` `filter` for free.
-Steve
More information about the Digitalmars-d
mailing list