search/search_n vs find/find_if
Paolo Carlini
pcarlini@suse.de
Wed Mar 2 17:02:00 GMT 2005
Chris Jefferson wrote:
> This is actually very slightly harder than I thought at first... as
> find is optimised for char types.. therefore it might be necessary to
> catch if find_if is being given our special comparison object and if
> so pass it back to find.. however I'm going to investigate to see a)
> how much speed benefit is actually given by the char specialisations
> of find and b) how messy it looks delegating find_if to find :)
Sorry, but I don't understand (I was tempted to write "Huh?!?", but
someone explained time ago that it's considered unpolite, so... ;) Which
optimization?!? Find or fill?!?
Paolo.
More information about the Libstdc++
mailing list