I really should make some time to read through all of the articles in there. Thanks very much for your link to that faq-entry Duoas, very informative and well written as always. Perhaps one of the experts around here could give a better, perhaps more low level approach that would be faster. Don't forget to turn on your compiler's optimizations too. Note that I haven't benchmarked it, I thought I'd leave comparison up to you since it would make more sense to compare to your existing results. Std::copy(container.cbegin(), container.cend(), ostr_it) Std::ostream_iterator ostr_it(std::cout, "\n") While (end container = string_split(s, ',') Std::vector string_split(std::string s, const char delimiter)
0 Comments
Leave a Reply. |