Just playing with compiler explorer to see assembly line count.
SrMordred
patric.dexheimer at gmail.com
Tue Oct 3 18:13:21 UTC 2017
On Tuesday, 3 October 2017 at 17:15:04 UTC, Daniel Kozak wrote:
> is not bad
>
> https://godbolt.org/g/bSfubs
Thats cool, I never used copy xD.
(but you returned the .copy range, not the 'r' array ;p)
//now with ldc 1.4 and -O3 -release -boundscheck=off
foreach -> 99 lines
.filter.copy -> 368 lines
.filter.array -> 1229 lines (1002 lines with -O1)
More information about the Digitalmars-d
mailing list