import std.container: Array; Array!int a; foreach (e; a[].filter!"true") {}
? Does memory allocation play a role?I would like to see it be used in replace of D builtin arrays without any code changes.
import std.container: Array; Array!int a; foreach (e; a[].filter!"true") {}
? Does memory allocation play a role?I would like to see it be used in replace of D builtin arrays without any code changes.