Servoy Tutorial Photo Credit: Reigh LeBlanc via CompfightThis is an object-oriented Servoy tutorial on how to use function memoization with Servoy. Function memoization uses a local object to build a cache and can improve code performance, avoiding methods from calculating the same thing over and over again. Suppose you have a function that takes in an…
Servoy Tutorial Photo Credit: kenteegardin via CompfightThis is an object-oriented Servoy tutorial on how to use an object as a cache in Servoy. Using an object to cache data can solve a lot of coding challenges, as well as significantly boost the performance of your code. For example, it can be used to manage foundsets that a…
Servoy Tutorial Photo Credit: Ben Heine via CompfightThis is a Servoy tutorial on how to optimize code performance. A while back, I had written a complex calculation engine that could accept a multitude of parameters and compute results from the various permutations and combinations. This meant, for example, that a single method that might be computing total…