Situation A : One program needs different data from 100 different tables. For modularity sake programmer has made one dataservice for each table, and hence it makes 100 calls to these 100 dataservices to fetch the required data.
Situation B : There is only one dataservice which will go to all these 100 tables and fetch the required data, so now main program has only single call.
Now please consider following arguments :
1. Depending upon the input given, main program will at maximum need to fetch data from 10 tables with a given set of input data.
2. Load module size of single dataservice of Case B will be much larger
than dataservice of case A. So more MAIN MEMORY will be required and loading will also take more time.
3. But as all the calls are dynamic in nature, call reslution takes place during run time, so calling time of case B will be lesser as there is only single call.
Please assume things from your experience if some data is missing.