Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Do big includes affect the performance of a program?

f_roels
Participant
0 Likes
527

Hello,

We are using an include (CRM_DIRECT) which has about 45 other includes (sub includes), the includes containts constants. We are wondering if it is better to include a sub include, when using a constant from only that sub include, then using the global include? Does this make a difference in performance or optimizes SAP this when compiling?

With regards,

Frank Roels

Hi,

if you are using a "big include" then it will be declaring lots of tables,structures,types etc...which needs memory allocation.Directly including a parent may reduce work but again memory wastage will cost you performance in overall running time....

Regards

Byju

2 REPLIES 2
Read only

Former Member
0 Likes
471

It doesn't affect the performance of the program but of course you are "wasting" memory which can affect the overall performance.

Regards

Frank

Read only

Former Member
0 Likes
471

Hi,

if you are using a "big include" then it will be declaring lots of tables,structures,types etc...which needs memory allocation.Directly including a parent may reduce work but again memory wastage will cost you performance in overall running time....

Regards

Byju