Based on which scenario , we can prefer static or dynamic call for our program?

Based on which scenario , we can prefer static or dynamic call for our program?

Questions by praveen_s   answers by praveen_s

Showing Answers 1 - 2 of 2 Answers

Mangesh K

  • Jun 20th, 2012
 

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

  Was this answer useful?  Yes

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.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions