When not to use Memoization in Ruby on Rails

Memoization is a wonderful concept in programming world. It helps in writing clean code which execute faster. Example: def slow_method @result ||= perform_slow_method end In the above code, slow_method will cache perform_slow_method in @resultvariable, therefore perform_slow_method will execute only once. So, if memoization is wonderful then why not to use it always? that’s the question I am going to answer … Continue reading When not to use Memoization in Ruby on Rails

React: Boost performance with effective rendering

Content posted here with the permission of the author Payal Bhalerao, who is currently employed at Josh Software. Original post available here We always enjoy fast and responsive user interface, but generally during fast development performance gets neglected. In case of react app development, We generally rely on react’s virtual DOM, that it will perform diffing … Continue reading React: Boost performance with effective rendering