Andre Poenitz <[EMAIL PROTECTED]> writes: | case 1 seems to be uniformly better. So why not use it?
because it is some ~10 lines longer. And if the functor is only being used once... (the tables are turned if the functor is used in several places) Also it is not unlikely that case 2 and 3 will catch up performance wise when compilers get even better. To me especially the lambda version is tempting. -- Lgb