Re: [PATCH 1/1] vsprintf: optimize decimal conversion (again)

From: H. Peter Anvin
Date: Tue Mar 27 2012 - 13:18:06 EST


On 03/27/2012 10:12 AM, Michal Nazarewicz wrote:
>
> Maybe a regular âifâ instead of macro would suffice here? Compiler should
> be smart enough to optimise out the dead path.
>

Yes, a regular if would work, but it's also pointless.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/