lkml.org 
[lkml]   [2015]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] lib/vsprintf.c: Even faster decimal conversion
Date
On Sat, Feb 21 2015, Rasmus Villemoes <linux@rasmusvillemoes.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


\
 
 \ /
  Last update: 2015-03-05 16:41    [W:0.083 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site