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] |
Hi Chris, hi list,
Hello! <snip>
A) Slow skip process.I should have pointed out that my code wasn't as optimised as it could be.. that is a good improvement however!
I'll address this at the end :)B) Slow performance when the probability of meeting a matching element is high.
3) A serious bug.Woops! I've actually checked it and that is caught by the libstdc++ test suite, I should have however checked it passed testsuite before submitting it :)
4) Incompatible to unsigned integers.I'm going to have to check that carefully... one problem with your implementation is that you store a temporary value in int, and this isn't allowed, I'm fairly certain you have to use iterator_traits<>::difference_type. Is it this that is causing the problem?
--------------------------------------------------------My recommendation to you would be:
Recommendations:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |