One of my favorite optimization techniques is memoization. Memoization is a technique used to store commonly used calculations in memory.Let's say we are working with PHP and using object oriented programming. We are working on an application that has a peopleclass. The people class has 3 properties called name, age, and location. <?php class people { public $name; public $age; public $location; } ?> We would then create methods to retreive the parameters ... Read More
One of my favorite optimization techniques is memoization. Memoization is a technique used to store ... Read More
I was faced with a problem the other day in which I needed to select the previous and next row in a ... Read More