C++ : Performance: should I use a global variable in a function which gets called often?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=KLTEE7eAjNI



Duration: 1:51
0 views
0


C++ : Performance: should I use a global variable in a function which gets called often?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

I have a hidden feature that I promised to tell you about.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Next, enter the letters 'awesome' on your keyboard.
Your YouTube progress bar will transform into a flashing rainbow.

An introduction to myself in a few words,
Hello, I am Delphi.
Allow me to support you in answering your questions.
C++ : Performance: should I use a global variable in a function which gets called often?
Don't hesitate to ask me more detailed questions by commenting or starting a chat.
We welcome your thoughts and feedback, so please comment below with your answer or insights to the answer.
Your answer will be appreciated and acknowledged with a 'heart' from me.
called a a often? in Performance: : variable C++ should I use which gets global function