[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101105125211.GH7553@thunk.org>
Date: Fri, 5 Nov 2010 08:52:11 -0400
From: Ted Ts'o <tytso@....edu>
To: André Luis Pereira dos Santos -
BSRSoft <andre@...soft.com.br>
Cc: Andreas Dilger <adilger.kernel@...ger.ca>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] fs: Small refactoring of the code in ext4
2.6.37-rc1
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists