Is it worth to compromise on speed to follow PEP 8 guidelines? I have this long line of code:

enc = encoder.predict(np.array([data[stock][4*i:4*(i+30)] for i in range(lens[stock]+days-30)]))


The problem is, the number of characters (97) exceed 79, which is not allowed by PEP 8. To follow the PEP 8 guideline I can

temp = [data[stock][4*i:4*(i+30)] for i in range(lens[stock]+days-30)]
enc = encoder.predict(np.array(temp))


But this creates a new variable that is stored in memory, rather then just a temporary storage in the first case. I'm assuming this takes slightly more time as well. The question is, is it worth compromising on speed to follow the guidelines/improve readability?

(PS: If there is a way to break down that one line of code into multiple lines, I would like to know)
A reasonable question to ask, maybe not for a single instance but if you end up with extremely performance-sensitive code. Black formats the code like this:

enc = encoder.predict(
    np.array(
        [
            data[stock][4 * i : 4 * (i + 30)]
            for i in range(lens[stock] + days - 30)
        ]
    )
)