Anal micro optimization: can you move the lambda to a method in the class please?