Non-recursive maxSizeOf

Adam D. Ruppe destructionator at gmail.com
Thu Aug 6 13:23:17 UTC 2020


On Thursday, 6 August 2020 at 13:18:40 UTC, Per Nordlöw wrote:
>                 mixin(T.stringof ~ " _store" ~ T.mangleof ~

Never ever use mixin(T.stringof). Always just use mixin("T") 
instead.

mixin("T _store", T.mangleof /* or just idx is gonna be better 
*/,";");

Though I doubt this is going to win a benchmark anyway getting 
this complicated.


More information about the Digitalmars-d-learn mailing list