[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r3t3eafm.fsf@rasmusvillemoes.dk>
Date: Thu, 05 Mar 2015 16:22:21 +0100
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: linux-kernel@...r.kernel.org
Cc: "Peter Zijlstra \(Intel\)" <peterz@...radead.org>,
Tejun Heo <tj@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [RFC] lib/vsprintf.c: Even faster decimal conversion
On Sat, Feb 21 2015, Rasmus Villemoes <linux@...musvillemoes.dk> wrote:
> [...] decimal conversion [...] it does indeed seem like there is
> something to be gained, especially on 64 bits.
>
> $ ./test64
> Distribution Function Cycles/conv Conv/1 sec
> uniform([10, 2^64-1]) linux_put_dec 127.72 23047567
> uniform([10, 2^64-1]) rv_put_dec 60.73 45932786
> +/- -52.45% +99.30%
[...]
> 3 + neg_binom(0.50) linux_put_dec 16.85 159560933
> 3 + neg_binom(0.50) rv_put_dec 12.59 204607570
> +/- -25.31% +28.23%
I'm assuming the underwhelming response means NAK.
Rasmus
--
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