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

Shared Variable Optimization Within A Loop

Follow @ionutbalosin Recently I attended GeeCon Krakow conference and during one of the talks the famous Venkat Subramaniam shared an interesting small application which captured my attention and got stuck in my mind. Going home, I have decided to zoom into the problem and to better understand what happens under theContinue reading… Shared Variable Optimization Within A Loop