There are various scenarios based on which we can go for either static or dynamic:
1. When module is big then (i.e. module contains lot of lines) static is better.
2. Simplicity is achieved via static call
3. Dynamic call is prefer when module size is less and modules being frequently compiled
PK.Ganapathy
Jan 7th, 2015
Some of it depends on shop standard. The shops I have worked on prefer keeping subroutines as dynamic. This keeps the region usage low and loading modules to memory as needed. Static increases load module size.
Based on which scenario , we can prefer static or dynamic call for our program?
Questions by praveen_s answers by praveen_s
Related Answered Questions
Related Open Questions