|
Re: One Fast Formula for All Elements, returning value for 25 Elements [message #356514 is a reply to message #348374] |
Thu, 30 October 2008 23:50 |
hrguru
Messages: 4 Registered: October 2008 Location: Saint Paul, MN, USA
|
Junior Member |
|
|
Formula design follows the same premise as programming encapsulation in general.
If all your elements share a significant portion of the code, then this a great idea.
If you are processing a bigger formula when each element only uses a small portion of the code, then it is a waste of resources.
Make sense?
Nice thing about your approach is that in the end, a formula ends up as PL/SQL so you may be gaining some benefits from the database caching your code as it is re-executed many times.
Best regards,
David.
|
|
|