← Back to team overview

maria-developers team mailing list archive

Re: ptr_compare replace with memcmp and associated performance


On Sat, May 09, 2009 at 12:25:31AM -0700, Eric Day wrote:
> My linux vs sparc testing, completely unequal buffers. One thing
> I find really strange is that gcc -O3 memcmp was slower than gcc
> without a -O option.

Try -fno-builtin so that you're really running memcmp and not the gcc builtin.
Stewart Smith