Switch: length optimized memcmp, no memcmp < cutoff 36

about 1.5x faster