Reimplementing the bulk of std.meta iteratively

Per Nordlöw per.nordlow at gmail.com
Sun Sep 27 10:00:33 UTC 2020


On Saturday, 26 September 2020 at 16:18:27 UTC, Andrei 
Alexandrescu wrote:
> Commments and ideas for improvements are welcome.

Great idea.

1. I presume we need to benchmark this both in space and time to 
judge its merits. Have you done any such? How will the number of 
templates instances change with length of array for each 
algorithm in std.meta?

2. To reduce (all) template bloat in your new version of 
std.meta, what about adding a special handling in the compiler 
for `reify` and `dereify` like was done with `AliasSeq`?


More information about the Digitalmars-d mailing list