http://d.puremagic.com/issues/show_bug.cgi?id=6658
--- Comment #3 from [email protected] 2013-04-01 16:07:15 PDT --- (In reply to comment #2) > Can we close this issue as a duplicate of issue 5282? > > > Is cmpsb efficient on modern CPUs? > > As the linked discussion mentions, it's not as efficient for short, fixed-size > data blocks. Backends other than DMD might take advantage of a known array > length, but DMD does not. Do you know why DMD can't be smarter here? The compiler knows the types and lengths, so it knows when one of such situations happens. At worst calling a template function defined in the object module is able to solve the situation. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
