Passing this::method reference within a loop affects performance

Follow @ionutbalosin Motivation The problem I would like address affects the performance in case this::method reference is passed to another method (especially within a long running loop), hence it is important to be aware and avoid this situation. The problem This arises when a lambda or a method reference which capturesContinue reading… Passing this::method reference within a loop affects performance