[Issue 5282] Use memcmp or other appropriate optimizations for array comparison where possible

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 28 03:21:49 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5282


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2010-11-28 03:20:18 PST ---
(In reply to comment #0)

> What likely should be done is to use memcmp in cases where you don't actually
> need to call opEquals() on the individual elements of the arrays

A simple solution for the string case:

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=123044

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list