Dynamic array comparison optimization: check for equal pointers?

Stanislav Blinov stanislav.blinov at gmail.com
Tue Jun 2 22:08:31 UTC 2020


On Tuesday, 2 June 2020 at 21:27:44 UTC, Dominikus Dittes Scherkl 
wrote:

> I also would expect this kind of optimization in memcmp and not 
> in the functions using it. Anything at higher level should be 
> unaware of pointers wherever possible.

How do you pass pointers to memcmp if you're not aware of them? ;)


More information about the Digitalmars-d mailing list