lkml.org 
[lkml]   [2015]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] lib/vsprintf.c: Even faster decimal conversion
Hello,

On Tue, Mar 10, 2015 at 11:47:47AM +0100, Rasmus Villemoes wrote:
> I can't explain why num_to_str apparently becomes slightly slower (the
> patch essentially didn't touch it), but the put_dec_ helpers in any case
> make up for that.

Unrelated code changes affecting performance in seemingly random way
isn't too uncommon. A lot of it arises from cacheline behaviors. The
effect is sometimes surprisingly big.

Generally looks pretty good to me. Andrew, can you please pick this
patch up?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2015-03-10 14:01    [W:0.164 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site