Re: [PATCH 1/1] fs: Small refactoring of the code in ext42.6.37-rc1

From: Ted Ts'o
Date: Fri Nov 05 2010 - 08:52:26 EST


On Thu, Nov 04, 2010 at 04:34:26PM -0700, André Luis Pereira dos Santos - BSRSoft wrote:
>
> I had not realized that the side effect would really be changing
> variables incremented and decremented.

You're also wrong if you think that "i--" is more efficient than "i =
i - 1". Any good compiler will do the right thing with either
expression.

- Ted
--
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/