Optimisation of std::binary_search of the <algorithm> header
Mike Stump
mikestump@comcast.net
Wed May 31 19:11:00 GMT 2017
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").
More information about the Libstdc++
mailing list