Accessing global variables or module attributes repeatedly within a loop significantly contributes to the 'interpreter loop tax'. Unlike local variables which are fast array lookups, globals and attributes require dictionary lookups, which are much slower. Historically, `LOAD_GLOBAL` opcodes have accounted for over 7% of all instructions executed by the Python virtual machine.