Is std::search coding fast enough #2
Dimitris Xochellis
jimxoch@yahoo.gr
Sun Jul 8 20:31:00 GMT 2007
Hi list,
In both the predicate and the non-predicate versions of the search STL algorithm I have noticed
the use of the __tmp and __p1 iterators, which always point at exactly the same position. I
believe that using just one of them is adequate enough and will also consume slightly less
execution time and RAM.
This is rather minor issue of course, but since the search algorithm has been recently modified,
maybe now it is a convenient time to fix this as well...
Best regards,
Jim Xochellis
___________________________________________________________
ΓñçóéìïðïéΓ₯ΓΓ΄Γ₯ Yahoo!;
ΓÑñΓ₯Γ¨ΓΓͺÑôΓ₯ ôÑ Γ₯Γï÷ëçôéΓͺà ìçΓýìÑôÑ (spam); ΓΓ― Yahoo! Mail
ÀéÑèΓΓ΄Γ₯Γ© ôçà ΓͺÑëýôΓ₯Γ±Γ§ ÀáΓÑôà ðñïóôÑóΓΓ‘ ΓͺÑôà ôùà Γ₯Γï÷ëçôéΓͺΓΎΓ
ìçΓáìΓôùà http://login.yahoo.com/config/mail?.intl=gr
More information about the Libstdc++
mailing list