macro and typedef

Revision en1, by EmonRezaBD, 2020-06-12 13:12:36

Hello Everyone,

In my template I use macros like #define ll long long int and many others.

But I found on web that it takes more memory and it is wise to use typedef long long int ll or using ll=long long int
I am confused. Which will be efficient for time as well as memory. Please help me. Thanks.

Tags macros, typedef, performance, #memory

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English EmonRezaBD 2020-06-12 13:13:55 11 Tiny change: 'me. Thanks. ' -> 'me. Thanks in advance. '
en1 English EmonRezaBD 2020-06-12 13:12:36 343 Initial revision (published)