Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loops and inline functions [closed]

Why is it that a function with loops cannot be made inline? Is it due to a performance issue or is there any other reason?

like image 711
subbu Avatar asked Nov 02 '12 06:11

subbu


1 Answers

Functions containing loops may be inlined even if the loops cannot be unrolled. Whoever said otherwise is wrong.

like image 52
Nawaz Avatar answered Sep 20 '22 01:09

Nawaz