[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1495005100.31562.22.camel@perches.com>
Date: Wed, 17 May 2017 00:11:40 -0700
From: Joe Perches <joe@...ches.com>
To: Alexey Dobriyan <adobriyan@...il.com>, akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] seq_file: delete small-value optimization
On Tue, 2017-05-16 at 23:42 +0300, Alexey Dobriyan wrote:
> num_to_str() optimizes printing small integers [0..9], so the same
> check higher in callchain is unnecessary.
Doesn't the optimization exists for the frequent use of 0
in seq output?
These seq_put_decimal calls are now slightly more expensive.
Powered by blists - more mailing lists