Boost logo

Boost Users :

Subject: Re: [Boost-users] run-time integer log2
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-07-13 07:54:29


Tim Blechmann wrote:
> i see, maybe it would be an interesting addition to boost.integer to provide
> a generic and efficient version, based on bsr/ffs or the like ...
>
There is a lot of branchless or SWAR algorithm to salvaged from there
and to be indeed made generic or at least platform independant w/r to
various things. Other thign we never did is benching all of the versions
of a given algorithm (with/without branch) on different platform to add
a proper #ifdef/else to maximize performance.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net