[Mono-devel-list] Re: Patch for String.Equals

Gaute B Strokkenes gs234-mono-d-l at srcf.ucam.org
Mon Apr 12 21:33:55 EDT 2004


On 6 apr 2004, ClassDevelopment at a-softtech.com wrote:

> I haven't too much (any?) knowledge about any alignments and similar
> things.  However I can tell that on my platform (which is a Athlon
> x86 2GHz the long compares are NOTABLY faster than int compares (And
> don't ask me why - I have NO clue).

I haven't looked at the assembly that the mono JIT produces (is there
an easy way to do that?) but I'm guessing that this is because using
longs is the equivalent of unrolling the loop.

-- 
Gaute Strokkenes                        http://www.srcf.ucam.org/~gs234/
Is this the line for the latest whimsical YUGOSLAVIAN drama which also
 makes you want to CRY and reconsider the VIETNAM WAR?



More information about the Mono-devel-list mailing list