lkml.org 
[lkml]   [2007]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch v2] epoll use a single inode ...


    On Tue, 6 Mar 2007, Eric Dumazet wrote:
    >
    > Something like :
    >
    > [PATCH] : Use reciprocal divides in sprintf()

    Try this on Core 2, and I suspect that you'll find that the hardware is
    actually *faster* than doing the shift/test, function call and the
    two multiplies.

    > Using reciprocal divides permits to change each divide by two multiplies, less
    > expensive on current CPUS.

    Are you sure?

    Linus
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-06 18:23    [W:0.023 / U:0.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site