[SAoC 2021] Replace druntime Hooks with Templates: Milestone 3, Week 2

Imperatorn johan_forsberg_86 at hotmail.com
Sat Nov 27 08:41:46 UTC 2021


On Friday, 26 November 2021 at 23:16:49 UTC, Teodor Dutu wrote:
> Hi,
>
> This week I ran a benchmark for the 3 possible approaches to 
> `_d_arrayctor`. They are: the old hook on one hand and two 
> implementations of the new template. One of these uses a third 
> pointer parameter for `_d_arractor`, in order to convert its 
> strong purity to weak purity, while the other only takes the 
> source array as a parameter and returns the created array. The 
> latter doesn't use NRVO, thought. I gave more details about 
> these 3 approaches and abount my benchmark in [this post].
>
> [...]

👍


More information about the Digitalmars-d mailing list