String compare performance

spir denis.spir at gmail.com
Sun Nov 28 08:33:19 PST 2010


On Sat, 27 Nov 2010 22:41:45 -0800
Jonathan M Davis <jmdavisProg at gmx.com> wrote:

> > What I think is pretty clear from this is that at some point, some work
> > needs to be done to optimize array comparisons when memcmp can be used
> > instead of having to call the individual opEquals() of each element. It's
> > not the sort of thing that's likely to be a priority, but it really should
> > be done at some point.  
> 
> Enhancement Request: http://d.puremagic.com/issues/show_bug.cgi?id=5282

Yes, but other comments seems to show memcmp only doubles speed. This would only bring us twice as slow as python ;-)

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d mailing list