Avoid gratuitous closure allocations

Andrea Fontana nospam at example.com
Fri Sep 20 13:03:29 UTC 2019


On Friday, 20 September 2019 at 11:21:22 UTC, Ali Çehreli wrote:
> tl;dr Instead of returning an object that uses local state, 
> return an object that uses member variables.

Really good to know tips!


More information about the Digitalmars-d-learn mailing list