c++ Programming Glossary: joiner
Prevent unnecessary copies of C++ functor objects http://stackoverflow.com/questions/2216041/prevent-unnecessary-copies-of-c-functor-objects std vector Foo v Foo const x std for_each v.begin v.end Joiner Foo and Foo const x std copy v.begin v.end Joiner Foo Now in.. v.end Joiner Foo and Foo const x std copy v.begin v.end Joiner Foo Now in theory the compiler should be able to use the copy.. and return value optimizations so that only a single Joiner object needs to be created. In practice however the function..
Why is splitting a string slower in C++ than Python? http://stackoverflow.com/questions/9378500/why-is-splitting-a-string-slower-in-c-than-python if Python is so optimized for string processing as Matt Joiner suggested that these C implementations would not be faster...
|