The compiler recognizes that the loop count is small and predictable. It "smashes" the loop gate by flattening the code:
4.2/5
: Enhances the code for better performance and reduced memory usage. Code Generation : Converts the optimized code into target machine language. Key Topics Covered by Gate Smashers Based on the Gate Smashers Compiler Design Playlist compiler design gate smashers