potiuk commented on PR #59876:
URL: https://github.com/apache/airflow/pull/59876#issuecomment-3697073897

   > Every access now requires a function call + None check instead of direct 
variable access.
   
   I think if we add `@cache` to `def supervisor_comms()`, this will be faster 
and will only require a hash lookup - and thveen, I think performance is not a 
concern any more.
   
   I like this pattarn that Jens introduced a lot more to be honest, it is more 
unit-test friendly IMHO.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to