Computer Science, asked by Nicole2551, 1 year ago

How macro execution is faster than function ?

Answers

Answered by malinibp7
0

Macro execution is faster than function execution because in function, much of time is used to take control from function call to called function and much of time is spent in this process. Whereas in macro expression are directly replaced in the source code.Much of time is spent in the binding of the function to the caller function.It is first time when i m reply any question .

Answered by MrTSR
0

hEY!

Actually macro is faster than a function as the previous one does not go for scanning and validation like a real function, so the time is saved during these processes which makes macro faster.

Similar questions