This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimisation of std::binary_search of the <algorithm> header


On May 31, 2017, at 12:33 AM, jay pokarna <jay.pokarna10@gmail.com> wrote:
> 
>        Could you tell the way as to how can I measure the time taken
> by my algorithm and compare it with the inbuilt functions ?

No, that's beyond our charter.  We review patches for gcc.  I'd recommend google, it has answers to most questions.  I think this one might be covered.  [ quick check ] https://gist.github.com/nfarring/1624742, yeah, it's covered.

> Also , could you recommend some data that could be helpful to help the
> comparison between the function and the std::binary_search?

I think google can find some data for you, just search; try google("data sets for searching").


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]